fix(Popover): prevent need for double click with hover mode on mobile#1415
fix(Popover): prevent need for double click with hover mode on mobile#1415moshetanzer wants to merge 4 commits into
hover mode on mobile#1415Conversation
…77f1 (#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