Open
Description
Vue version
3.4.29
Link to minimal reproduction
Steps to reproduce
- Click any checkbox to transfer items from the
Not done
collection into theDone
collection - Observe that while the value of
item.isDone
changes (moving the item from one list to the other), the conditional CSS classtask-done
is not applied while the in or out animations play in the corresponding lists
What is expected?
I would expect the items to have the task-done
class applied or removed immediately, then animate out of the list.
What is actually happening?
The CSS class is never applied as long as the item is still in the previous list.
System Info
System:
OS: Windows 11 10.0.22631
CPU: (16) x64 AMD Ryzen 7 2700X Eight-Core Processor
Memory: 15.16 GB / 31.92 GB
Binaries:
Node: 20.13.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.13.0 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.5.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 127.0.6533.120
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527
npmPackages:
vue: ^3.4.29 => 3.4.31
Any additional comments?
Maybe that's expected behavior, but I didn't find any info on it while consulting the docs. If there is a workaround to apply CSS classes immediately, that'd be great.