Skip to content

[Bug Report][3.3.9] Vuetify defaults provider: VListItem active class doesn't get applied #17845

@Dominic-Marcelino

Description

@Dominic-Marcelino

Environment

Vuetify Version: 3.3.9
Vue Version: 3.3.4
Browsers: Chrome 114.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

  • Define a default for VListItem --> activeClass and
  • Create a vList as a router --> class isn't applied
  • Add the "active-class" prop to the VListItem manually and it works

Expected Behavior

  • Default active class should be added

Actual Behavior

  • need to use the prop manually on the component

Reproduction Link

https://stackblitz.com/edit/vitejs-vite-vx9vtw?file=src%2Fmain.ts,src%2Fcomponents%2FNav.vue&terminal=dev

Other comments

(haven't tested if this also applies to activeClass props on other components)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions