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

[DropdownMenu] Handle hover mode like Popover #2138

Open
benjamincanac opened this issue Apr 5, 2024 · 4 comments · May be fixed by benjamincanac/ui3#69
Open

[DropdownMenu] Handle hover mode like Popover #2138

benjamincanac opened this issue Apr 5, 2024 · 4 comments · May be fixed by benjamincanac/ui3#69
Labels
enhancement New feature or request v3 #1289

Comments

@benjamincanac
Copy link
Member

benjamincanac commented Apr 5, 2024

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

@benjamincanac benjamincanac added the enhancement New feature or request label Apr 5, 2024
@benjamincanac
Copy link
Member Author

@zernonia Is there a way to achieve this with Radix Vue currently?

@zernonia
Copy link
Contributor

You can try this @benjamincanac
https://stackblitz.com/edit/nkkie8?file=src%2FApp.vue

Mainly:

  1. :modal="false" on Root
  2. @pointerenter and @pointerleave on Trigger

@benjamincanac benjamincanac linked a pull request Apr 16, 2024 that will close this issue
8 tasks
@benjamincanac
Copy link
Member Author

@zernonia Thanks for the suggestion but I don't think this method can work when there is some gap between the content and the trigger. Would it be possible to take advantage of the useGraceArea composable for this?

I've tried to copy it locally as it's not exported but didn't manage to make it work 😬

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 18, 2024
@benjamincanac benjamincanac added v3 #1289 and removed stale labels Jul 18, 2024
@benjamincanac benjamincanac transferred this issue from benjamincanac/ui3 Sep 6, 2024
@benjamincanac benjamincanac mentioned this issue Dec 7, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v3 #1289
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants