Closed
Description
Describe the bug
When you have an element with a transition and destroy it, but then recreate it before the transition is done, you can end up with old elements not being removed.
Reproduction
When you type in the input field, the value
is set to what you typed if the value
is empty, otherwise the value
is cleared. Try randomly spamming your keyboard, and a bunch of extra elements should be left there.
Logs
No response
System Info
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Memory: 1.35 GB / 32.00 GB
Shell: 3.2.2 - /usr/local/bin/fish
Binaries:
Node: 16.13.1 - /var/folders/gs/3qcm1mc918s08sxvkj6zj2rr0000gp/T/fnm_multishells/87890_1641758181492/bin/node
Yarn: 1.22.17 - /var/folders/gs/3qcm1mc918s08sxvkj6zj2rr0000gp/T/fnm_multishells/87890_1641758181492/bin/yarn
npm: 8.1.2 - /var/folders/gs/3qcm1mc918s08sxvkj6zj2rr0000gp/T/fnm_multishells/87890_1641758181492/bin/npm
Browsers:
Brave Browser: 96.1.32.106
Chrome: 96.0.4664.110
Firefox: 95.0.2
Safari: 15.2
npmPackages:
svelte: ^3.45.0 => 3.45.0
Severity
annoyance