Skip to content

Conversation

@Bortseb
Copy link

@Bortseb Bortseb commented May 7, 2025

This change makes the input boxes of the search plugin work better on mobile. Changing the input type to "search" makes it so that the virtual keyboard that pops up on mobile devices has a search button where the enter key normally is, so that clicking it will execute the search. Currently, with the type set to "text", the enter button on mobile keyboards is changed into a tab button, because the browser sees, the input box for the search in the wiki footer, and thinks the user might want to tab over there instead of executing the search. (i.e. I can't execute the search at all on my mobile phone.)

This change makes the input boxes of the search plugin work better on mobile. Changing the input type to "search" makes it so that the virtual keyboard that pops up on mobile devices has a search button where the enter key normally is, so that clicking in will execute the search. Currently, with the type set to "text", the enter button on mobile keyboards is changed into a tab, because the browser sees, the input box for the search in the wiki footer, and thinks the user might want to tab over there instead of executing the search.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant