-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
fix(docs): issues with searchbox on mobile #11686
Conversation
…stent with a "search"
…the page When this happens, you have to open the left drawer and do your search over again. This fix keeps the drawer open so user can then click a found item.
Tested with desktop and Google Pixel (as well as Chrome mobile emulation - refreshed on each one) |
From my POV you can remove all checks for desktop platform - if they have a keyboard with keys and escape on mobile all the best for the users |
That's true. I have a Samsung mini-tablet with a Bluetooth keyboard. I'll make the changes. |
Excellent. |
@hawkeye64 can you please port this for Q1 docs? |
@pdanpdan yes, but likely will have to do it tomorrow |
Actually, I have time and can do it now |
done: #11699 |
Basically, if you tap the "Enter" key on a mobile keyboard, after typing your search, the page gets reloaded. Right now, you can search, then tap off of the drawer to close it. This PR fixes this as well as using
type="search"
so you get proper keyboard supports on mobile.