Skip to content

each not reacting to array reorder since version 3.38.0 #6522

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

Closed
Frankwarnaar opened this issue Jul 13, 2021 · 2 comments
Closed

each not reacting to array reorder since version 3.38.0 #6522

Frankwarnaar opened this issue Jul 13, 2021 · 2 comments
Labels
bug compiler Changes relating to the compiler

Comments

@Frankwarnaar
Copy link

Frankwarnaar commented Jul 13, 2021

Describe the bug

Since version 3.38.0, each blocks don't seem to respond to reordering arrays anymore.

Reproduction

I've been using this REPL as an example for a sortable list I'm building: https://svelte.dev/repl/3bf15c868aa94743b5f1487369378cf3?version=3.37.0. Now if I move the first item to become the last item, it does work in 3.37.0. However, when tried in version 3.38.0 (https://svelte.dev/repl/3bf15c868aa94743b5f1487369378cf3?version=3.38.0), svelte doesn't seem to understand it has to re-render the list anymore.

Logs

No response

System Info

I've tested in chrome latest and firefox latest. Both work well in 3.37.0, but not anymore since 3.38.0.

Severity

blocking an upgrade

@dummdidumm
Copy link
Member

Possible duplicate of #6444

@dummdidumm dummdidumm added bug compiler Changes relating to the compiler labels Jul 13, 2021
@tanhauhau
Copy link
Member

tanhauhau commented Jul 13, 2021

verified it's fixed by #6445, will be fixed in the next Svelte version

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

No branches or pull requests

3 participants