vuetifyjs / vuetify

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

[Bug Report][3.5.16] VSelect always jumps back to the first record when making multiple selections #19635

Closed AndyBeat closed 2 weeks ago

AndyBeat commented 2 weeks ago

Environment

Vuetify Version: 3.5.16 Vue Version: 3.4.21 Browsers: Chrome 122.0.0.0 OS: Windows 10

Steps to reproduce

Choose item[Alabama], then item[Guam]

Expected Behavior

Same effect as Vuetify3.5.15 version

Actual Behavior

Jump to Alabama when choosing Guam

Reproduction Link

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

Other comments

Affected by these 2 issues #19593 and #19574..

AndyBeat commented 2 weeks ago

@yuwu9145 You seem to have misunderstood what I meant. Instead of always scrolling to the last one, it will stay at the selected one, just like the version 3.5.15. For example, select [Alabama], then [Guam], and then select [Colorado] instead of jumping back to [Guam], you stay in [Colorado].

yuwu9145 commented 2 weeks ago

@AndyBeat Yes, the first fix d65d586 was wrong.

There is a new fix #19642 that makes sure stay at/scroll to "the last selected one". I plan to do more testing around this change over weekend to make sure it covers all scenarios

AndyBeat commented 2 weeks ago

@yuwu9145 OK, thanks