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

fix(docs): issues with searchbox on mobile #11686

Merged
merged 4 commits into from
Dec 15, 2021

Conversation

hawkeye64
Copy link
Member

@hawkeye64 hawkeye64 commented Dec 14, 2021

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.

…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.
@hawkeye64
Copy link
Member Author

Tested with desktop and Google Pixel (as well as Chrome mobile emulation - refreshed on each one)

@pdanpdan
Copy link
Collaborator

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

@hawkeye64
Copy link
Member Author

That's true. I have a Samsung mini-tablet with a Bluetooth keyboard. I'll make the changes.

@rstoenescu rstoenescu merged commit 900a6d8 into quasarframework:dev Dec 15, 2021
@rstoenescu
Copy link
Member

Excellent.

@pdanpdan
Copy link
Collaborator

@hawkeye64 can you please port this for Q1 docs?

@hawkeye64
Copy link
Member Author

@pdanpdan yes, but likely will have to do it tomorrow

@hawkeye64
Copy link
Member Author

Actually, I have time and can do it now

hawkeye64 added a commit to hawkeye64/quasar that referenced this pull request Dec 15, 2021
@hawkeye64
Copy link
Member Author

done: #11699

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.

None yet

3 participants