godot-asset-library icon indicating copy to clipboard operation
godot-asset-library copied to clipboard

Automatically show and hide search options

Open iman-salmani opened this issue 6 years ago • 3 comments

hide: image

show: image

in small screen: hide: image

show: image

iman-salmani avatar Apr 20 '19 21:04 iman-salmani

:focus-within is unsupported on some browsers, especially Edge and Android's default browser. Additionally, I don't know if there is a way to focus the inside of an invisible form on mobile.

bojidar-bg avatar Apr 21 '19 08:04 bojidar-bg

Can I put a button next to the search input and use javascript(add show, hide style) to display options? for example: image

iman-salmani avatar Apr 21 '19 10:04 iman-salmani

@iman-salmani that would be fine, as long as it is shown by default when javascript is disabled, or if the button works without javascript.

bojidar-bg avatar Apr 21 '19 10:04 bojidar-bg