oruga icon indicating copy to clipboard operation
oruga copied to clipboard

Active class applied to all dropdown items when `value` is not defined

Open themodernpk opened this issue 3 years ago • 0 comments

Overview of the problem

Oruga version: [0.5.5] Vuejs version: [3.2.37] OS/Browser: Chrome

Description

If the value is not set for Dropdown Items, and if a dropdown item is clicked, it applies is-active class on all the dropdown items

Screenshot

Steps to reproduce

  1. Use Oruga with Bulma theme
  2. Create a dropdown
  3. Click on any dropdown item

Expected behavior

A) There should be a configuration to define whether an active class should be applied or not. B) It should apply active class only to the dropdown item which is clicked

Actual behavior

is-active is applied to all dropdown items

themodernpk avatar Jun 27 '22 20:06 themodernpk