-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Remove styles and element order in lists #1011
Comments
This was referenced Nov 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to use
remove
styles to fade out an element as it is removed from a list. I ran into some ordering issues.Expected behavior
Initially the following is rendered on screen:
Then, it is updated to:
And the
#2
starts fading out.Observed behavior
After the initial render, I see this on screen:
The
#2
fades out, but it has effectively moved to the bottom of the list.Sample code
The code for this example looks like this:
Is there anything I can do to help Snabbdom maintain the order of the elements?
The text was updated successfully, but these errors were encountered: