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.6.0] v-tooltip open on click when openOnHover and openOnClick are false #14444

Closed
RuslanMelnychenko opened this issue Nov 29, 2021 · 0 comments
Assignees
Labels
C: VTooltip VTooltip T: bug Functionality that does not work as intended/expected
Milestone

Comments

@RuslanMelnychenko
Copy link

Environment

Vuetify Version: 2.6.0
Vue Version: 2.6.14
Browsers: Chrome 96.0.4664.45
OS: Windows 10

Steps to reproduce

  1. Create v-tooltip component with props top :open-on-hover="false" :open-on-click="false"
  2. Insert some element in template #activator={on} and attach events by v-on="on" to the element
  3. Click on element

Expected Behavior

v-tooltip don't show anything

Actual Behavior

v-tooltip show

Reproduction Link

https://codepen.io/ruslanmelnychenko/pen/wvrvexZ?editors=1010

Other comments

The problem is the function genActivatorListeners() that inherits the result from mixin Activatable, where is the condition when openOnHover is false to add event click (without check openOnClick because this prop absent in Activatable)

@RuslanMelnychenko RuslanMelnychenko changed the title [Bug Report][2.6.0] v-tooltip open on click when openOnHover and openOnClick are false [Bug Report][2.6.0] v-tooltip open on click when openOnHover and openOnClick are false Nov 29, 2021
@KaelWD KaelWD added C: VTooltip VTooltip T: bug Functionality that does not work as intended/expected and removed S: triage labels Nov 30, 2021
@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 28a64c4 Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VTooltip VTooltip T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants