Skip to content

Automatically show and hide search options #179

Open
iman-salmani wants to merge 2 commits into
godotengine:masterfrom
iman-salmani:patch-4
Open

Automatically show and hide search options #179
iman-salmani wants to merge 2 commits into
godotengine:masterfrom
iman-salmani:patch-4

Conversation

@iman-salmani
Copy link
Copy Markdown

hide:
image

show:
image

in small screen:
hide:
image

show:
image

@bojidar-bg
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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