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

Icons from menu are interactive with mouse even the menu is closed #1289

Closed
3 tasks done
edimitchel opened this issue Sep 5, 2022 · 1 comment · Fixed by #1290
Closed
3 tasks done

Icons from menu are interactive with mouse even the menu is closed #1289

edimitchel opened this issue Sep 5, 2022 · 1 comment · Fixed by #1290
Labels
bug Something isn't working theme Related to the theme

Comments

@edimitchel
Copy link

Describe the bug

When you move the mouse close to the menu, you can open the menu by interacting with an icon from the menu (open new tab icon, social icons, etc..).

Reproduction

  1. Go on https://vitepress.vuejs.org/.
  2. Hover Resources menu
  3. Locate visually where there is an icon
  4. Move out the mouse from the menu (to close it)
  5. Move your mouse near you locate the icon before
  6. See the menu open.

Visible on https://vitejs.dev/ also but not on https://vuejs.org/

Expected behavior

Menu should only be opened by hovering his trigger menu item (e.g. Resources), not on any other element.

System Info

Firefox, Chrome

Additional context

I see a rule which create this issue:

.container[data-v-c98cfae7] * {
  pointer-events: all;
}

By disabling it, it works as expected.

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@edimitchel edimitchel added the bug: pending triage Maybe a bug, waiting for confirmation label Sep 5, 2022
@edimitchel
Copy link
Author

edimitchel commented Sep 5, 2022

The PR which create that issue: #1182

@brc-dd brc-dd added bug Something isn't working theme Related to the theme and removed bug: pending triage Maybe a bug, waiting for confirmation labels Sep 5, 2022
@brc-dd brc-dd linked a pull request Sep 5, 2022 that will close this issue
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working theme Related to the theme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants