Skip to content

Active-change event not emitted with trigger hover #3677

@lucastenboom

Description

@lucastenboom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions