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

Active-change event not emitted with trigger hover #3677

Closed
lucastenboom opened this issue Feb 22, 2022 · 0 comments
Closed

Active-change event not emitted with trigger hover #3677

lucastenboom opened this issue Feb 22, 2022 · 0 comments

Comments

@lucastenboom
Copy link

lucastenboom commented Feb 22, 2022

Overview of the problem

Buefy version: [^0.9.14]
Vuejs version: [ 2.6.x]
nuxt-buefy version: [^0.4.3],
OS/Browser: google chrome 97.0.4692.71 (Official Build) (64-bit)

Description

When applying the trigger ['hover'] on a b-dropdown component the active-change event is never emitted.

Steps to reproduce

  1. set the value of the triggers prop of a b-dropdown component to :triggers="['hover']"
  2. listen for the event @active-change
  3. it is never fired.

Expected behavior

when the dropdown changes visibility, i expect the active-change event to be emitted with its isActive value.

Actual behavior

The isActive value does not change when triggers=['hover'] and therefore the event 'active-change' is never emitted.

codepen to see its behaviour in console:
https://codepen.io/FrankLucass/pen/oNodJjR?editors=1011

@lucastenboom lucastenboom changed the title Active-change event not fired with trigger hover Active-change event not emitted with trigger hover Feb 22, 2022
@jtommy jtommy closed this as completed in fc62b04 Mar 1, 2022
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

No branches or pull requests

1 participant