Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Modifier on keyed spread #4491

Closed
jackzard opened this issue Mar 1, 2020 · 2 comments · Fixed by #4493
Closed

Event Modifier on keyed spread #4491

jackzard opened this issue Mar 1, 2020 · 2 comments · Fixed by #4493

Comments

@jackzard
Copy link

jackzard commented Mar 1, 2020

Describe the bug
when using spread lists (keyed), then lists is updated, event will be duplicate/multiplied

To Reproduce
https://svelte.dev/repl/a53e38c2ac7a4bd1bf7103454e5bfe03?version=3.19.1

@YvanDaSilva
Copy link

Just had the same issue.
A simple sort on an array used by a keyed list will result in duplication of the events.
Very annoying.

Did tested @tanhauhau fix, but it looks good.

@Conduitry
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants