vuetifyjs / vuetify

🐉 Vue Component Framework
https://vuetifyjs.com
MIT License
39.96k stars 6.96k forks source link

[Bug Report][3.5.9] VListGroup does not expand with selected Item #19409

Open jo3codes opened 8 months ago

jo3codes commented 8 months ago

Environment

Vuetify Version: 3.5.9 Last working version: 2.7.2 Vue Version: 3.4.21 Browsers: Safari 17.3.1 OS: Mac OS 10.15.7

Steps to reproduce

  1. Click in the Autocomplete to show the menu.
  2. Click on the first item (group name) to show the sub group.
  3. Select sub item: this populates the Autocomplete and collapses the menu.
  4. Reopen menu.
  5. See that group is collapsed.
  6. Click group item to see the sub item is selected.

Expected Behavior

Selected sub item's group is expanded.

Actual Behavior

Selected sub item's group is collapsed.

Reproduction Link

https://play.vuetifyjs.com/#...

jo3codes commented 8 months ago

Tagging as requested: @KaelWD @johnleider

KaelWD commented 8 months ago

I think we need to run openStrategy.select on mount if there are items selected already