Open vmihailenco opened 2 months ago
Vuetify Version: 3.7.1 Last working version: 2.7.2 Vue Version: 3.5.3 Browsers: Chrome 128.0.0.0 OS: Linux x86_64
console.log
update:currentItems is emitted on component mount. Probably adding immediate: true to the watch is all that is needed. It used to work in Vuetify 2.
update:currentItems
immediate: true
The initial update:currentItems event is not emitted until the data or pagination changes. It makes retrieving initial currentItems tricky.
currentItems
https://play.vuetifyjs.com/#...
I think it will cause render twice in SSR.
Environment
Vuetify Version: 3.7.1 Last working version: 2.7.2 Vue Version: 3.5.3 Browsers: Chrome 128.0.0.0 OS: Linux x86_64
Steps to reproduce
console.log
until the pagination changes.Expected Behavior
update:currentItems
is emitted on component mount. Probably addingimmediate: true
to the watch is all that is needed. It used to work in Vuetify 2.Actual Behavior
The initial
update:currentItems
event is not emitted until the data or pagination changes. It makes retrieving initialcurrentItems
tricky.Reproduction Link
https://play.vuetifyjs.com/#...