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

[Bug Report][2.5.4] Icon inside v-menu activator is pointer even when clicks are disabled #14377

Closed
sbarfurth opened this issue Nov 4, 2021 · 1 comment
Assignees
Labels
C: VMenu VMenu T: bug Functionality that does not work as intended/expected
Milestone

Comments

@sbarfurth
Copy link

Environment

Vuetify Version: 2.5.4
Vue Version: 2.6.11
Browsers: Firefox 94.0
OS: Mac OS 10.15

Steps to reproduce

  1. Create a menu with open-on-hover and :open-on-click: "false"
  2. Place an icon inside the activator slot
  3. Hover the icon

Expected Behavior

The icon should have the default cursor and not become a button. Clicking it should have no visible effect.

Actual Behavior

The icon is wrapped in a button and uses pointer as its cursor. Clicking the button gives it a background effect.

Reproduction Link

https://codepen.io/barfurth/pen/wvqpbNe

Other comments

As the icon does not provide any functionality when clicking it seems unintuitive that is appearing to the user as a clickable object. The menuable mixin appears to add a click handler regardless of props set on the menu.

@glen-84 glen-84 added C: VMenu VMenu T: bug Functionality that does not work as intended/expected labels Nov 8, 2021
@github-actions github-actions bot removed the S: triage label Nov 8, 2021
@KaelWD
Copy link
Member

KaelWD commented Nov 30, 2021

The click listener was moved to menuable in 553a0d8c instead of staying in VMenu.

@KaelWD KaelWD self-assigned this Nov 30, 2021
@KaelWD KaelWD added this to the v2.6.x milestone Nov 30, 2021
@KaelWD KaelWD closed this as completed in 24ccd88 Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VMenu VMenu T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

3 participants