-
Notifications
You must be signed in to change notification settings - Fork 647
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(Popover): prevent need for double click with hover
mode on mobile
#1415
Conversation
β¦77f1 (nuxt#1405) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR doesn't seem to have solved the issue on IOS, on chrome mobile simulator was solved thoughπ€. Any ideas. |
Two suggestions I can think of are;
-- |
Though android is solved...π |
hover
mode on mobile
Hi @benjamincanac any idea of best way to implement to work both on iOS and android. This literally affects all Nuxt UI websites. |
I don't have a clue yet but I agree this is urgent! I'll try to dig as soon as possible |
Not sure what your code design standards are. But media query option may be good. Either options mentioned above, or have allows at this tailwindlabs/tailwindcss#8394 Did a bit more research, these seem to be most useful somehting like this:
Edit Happy to do a bit more testing. Let me know your thoughts. |
π Linked issue
There must already be an issue - though havent found one to link.
Here is a link to an issue i opened on new undocs website
unjs/undocs#69
β Type of change
π Description
When a popover is set to
mode=hover
, on mobile one is required to press the button twice to open the popover. Have committed most simple fix, could be a better way to do this...This is quite a big issue since it is being used on all Nuxt website and is encountered in UI Pro templates.
Here is a video of issue:
Screen.Recording.2024-02-25.at.19.03.29.mov
Reproduction of issue is on the ui.nuxt.com docs for popover - just go into mobile simulator or go on actual mobile device:
https://ui.nuxt.com/components/popover
π Checklist