8000 "UDropdown": Toggle NOT Working in Mobile. click event & touchstart event neutralize each other. · Issue #2261 · nuxt/ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

"UDropdown": Toggle NOT Working in Mobile. click event & touchstart event neutralize each other. #2261

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

Closed
DanielQolami opened this issue Sep 26, 2024 · 1 comment · Fixed by #2272
Labels
bug Something isn't working

Comments

@DanielQolami
Copy link
DanielQolami commented Sep 26, 2024

Environment

  • Operating system: "android 14"
  • Nuxt Version: "3.13.2"
  • Vue Version: "3.5.8"

Version

v2.18.6

Reproduction

https://ui.nuxt.com/components/dropdown

image

Description

clicking on the dropdown button doesn't work in mobile view. the "click" event & the "touchstart" event, call the same function (toggle dropdown visibility), and neutralize each other. (basically, click event opens the dropdown, the touchstart event, closes the dropdown)

I tested it and in both android 14 & in windows, firefox (mobile view mode), I got the same result.

Additional context

Screenshot 2024-09-26 144458

Logs

No response

@DanielQolami DanielQolami added bug Something isn't working triage labels Sep 26, 2024
@DanielQolami
Copy link
Author

same Issue happens with Popover
https://ui.nuxt.com/components/popover

@DanielQolami DanielQolami changed the title "UDropdown": Toggle NOT Working. click event & touchstart event neutralize each other. "UDropdown": Toggle NOT Working in Mobile. click event & touchstart event neutralize each other. Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0