Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically show and hide search options #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Automatically show and hide search options #179

wants to merge 2 commits into from

Conversation

iman-salmani
Copy link

hide:
image

show:
image

in small screen:
hide:
image

show:
image

@bojidar-bg
Copy link
Contributor

: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.

@iman-salmani
Copy link
Author

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

@bojidar-bg
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants