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

Don’t try ticking the animation if there are no details #186

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

bramus
Copy link
Collaborator

@bramus bramus commented Dec 23, 2023

I believe this is a regression introduce by #89. When using the polyfill in Safari (which hash a BFCache), one would get errors about trying to read autoAlignStartTime from the details.

Narrowing things down and working my way up the call tree, the root cause is in tickAnimation which tries to get the details from the proxyAnimations. Since proxyAnimations gets cleared on pagehide, details can be empty, so the whole ticking stop stop if no details are present.

This PR fixes that.

@bramus bramus merged commit be3d4c2 into flackr:master Dec 24, 2023
2 checks passed
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 this pull request may close these issues.

1 participant