Open iman-salmani opened 5 years ago
: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.
Can I put a button next to the search input and use javascript(add show, hide style) to display options? for example:
@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.
hide:
show:
in small screen: hide:
show: