Closed
Description
Describe the bug
There is a problem with keyed each.
When the position of the array is changed, the position of the element is strange.
To Reproduce
To help us help you, if you've found a bug please consider the following:
https://svelte.dev/repl/9d71f9bdfec1443bb7d65064000861db?version=3.38.3
Expected behavior
A clear and concise description of what you expected to happen.
When click button, change [1, 2, 3] to [2, 3 ,4, 1]
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Svelte entirely?
If the position of the item changes but the element does not change, the problem is big.