Skip to content

[Bug Report][2.6.0] v-tooltip open on click when openOnHover and openOnClick are false #14444

@RuslanMelnychenko

Description

@RuslanMelnychenko

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)

Metadata

Metadata

Assignees

Labels

C: VTooltipT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions