mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 22:29:28 +00:00
Previously, the search resutls were displayed only when the search input was in focus and were hidden when it went out of focus. In order to make the options in the list work, the focus out event was delayed by 300ms. Now, to get rid of the delay, an onClick event is added to the outer- most container of the component which checks if the clicked element (target of the event) is an descendant of the 'search-container' class housing the search input. If it is an descendant and the search query is not empty, then the result list is displayed otherwise it is hidden. Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com> |
||
|---|---|---|
| .. | ||
| favicon.ico | ||
| index.html | ||
| manifest.json | ||