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

Dropdown with mode="hover" breaks interaction on touch device #2989

Open
WouS95 opened this issue Dec 27, 2024 · 0 comments
Open

Dropdown with mode="hover" breaks interaction on touch device #2989

WouS95 opened this issue Dec 27, 2024 · 0 comments
Labels
bug Something isn't working triage

Comments

@WouS95
Copy link

WouS95 commented Dec 27, 2024

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Version

3.13.2

Reproduction

  1. Use this template: https://github.com/nuxt-ui-pro/dashboard
  2. Run the app (npm run dev) (or run the demo: https://dashboard-template.nuxt.dev/)
  3. Open devtools and toggle device toolbar
  4. Click on the menu icon and then the nuxt text on the top. Image
  5. It is buggy because the hover mode is not taking into account the touch device input.

Description

I use the template from https://github.com/nuxt-ui-pro/dashboard and tested it on mobile.
The component UDropdown has a mode of 'hover'. This however breaks the interaction on mobile/touch devices.

This is reproduced in the devtools using the mobile emulator, as well as your own device (ios).

Additional context

I believe this to be a bug since an example should be working properly on all devices without workarounds.

Logs

@WouS95 WouS95 added bug Something isn't working triage v3 #1289 labels Dec 27, 2024
@WouS95 WouS95 changed the title Dropdown with mode="hover" breaks on touch device Dropdown with mode="hover" breaks interaction on touch device Dec 27, 2024
@benjamincanac benjamincanac removed the v3 #1289 label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants