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

fix(Dropdown): better handle item click to preventDefault #119

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

smarroufin
Copy link
Contributor

Fixes nuxtlabs/volta-app#1932

Now the mouse click can properly preventDefault to avoid closing the Dropdown.
Now the enter keyboard hit sends an Event, but as trusted: false so preventDefault has no effect.

@netlify
Copy link

netlify bot commented Dec 2, 2022

Deploy Preview for nuxthq-ui canceled.

Name Link
🔨 Latest commit 8d0e2a2
🔍 Latest deploy log https://app.netlify.com/sites/nuxthq-ui/deploys/638a1a11c6386400083bae3d

@vercel
Copy link

vercel bot commented Dec 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ui ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 3:32PM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants