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

[UDropdown]: Not work on clicking on its element on mobile #1337

Open
nethriis opened this issue Feb 8, 2024 · 2 comments
Open

[UDropdown]: Not work on clicking on its element on mobile #1337

nethriis opened this issue Feb 8, 2024 · 2 comments
Labels
bug Something isn't working v3 #1289

Comments

@nethriis
Copy link

nethriis commented Feb 8, 2024

Environment

Version

v2.13.0

Reproduction

https://stackblitz.com/edit/nuxt-starter-2teyfq?file=app.vue

Description

On my PC it works well but on mobile I can't click on dopdown items. When I click on it the popover just disappear.

Additional context

No response

Logs

No response

@nethriis nethriis added the bug Something isn't working label Feb 8, 2024
Copy link
Collaborator

I'm terribly sorry for the late reply.

I can confirm this can be tested using Chromium-based devtools in device emulation. It also happens in the docs 🤔

I'm not fully sure what is causing this, but considering the changes coming with #1289 and the fact this doesn't happen with radix-vue's dropdown we could wait for v3.0.

@Sandros94 Sandros94 added the v3 #1289 label Mar 28, 2024
@chachew
Copy link

chachew commented Mar 28, 2024

I have the same issue BUT i created a workaround for now.

It will work correctly in mobile IF the <UDropdown> is set to disabled.. <UDropdown disabled>. But then this breaks desktop functionality. So you can change the disabled state via the click pointer event.

Working Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3 #1289
Projects
None yet
Development

No branches or pull requests

3 participants