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

flickering caused by aurelia rendering content before clearing the old #1893

Open
wzrdtales opened this issue Jan 30, 2024 · 2 comments
Open
Labels

Comments

@wzrdtales
Copy link

wzrdtales commented Jan 30, 2024

We noticed that there is some flickering while navigating

So we recorded it

Bildschirmaufzeichnung.vom.2024-01-30.22-39-48.webm

In specifically this frame

image

You can see what is happening aurelia actually renders the content of au-viewport before clearing the old.

This is a child router constellation and the navigation simply uses the load attribute to call the other child route.

@wzrdtales
Copy link
Author

not really a question, I guess its a bug @bigopon That is definitely not a behavior that is expected

@bigopon
Copy link
Member

bigopon commented Feb 1, 2024

This behavior is because the router is having rendering sequence add first then remove existing. We can change that to remove existing and then add. Maybe @jwx will comment more.

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

No branches or pull requests

2 participants