-
Notifications
You must be signed in to change notification settings - Fork 257
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
Text not appearing at the end of animation #205
Comments
Hey there! Thanks for the video, really helpful to get a sense of the problem. Sadly, I don't really know what the root cause of this issue is; seems like you need to force a repaint to get the browser to show the text, which is super strange. I'm guessing it's some quirk with Some stuff to try, to help us understand the issue:
Because it seems like the issue is solved with a repaint, I have a hacky potential solution for you: You just need to force a repaint when the animation is complete. So you could do something like this: <FlipMove
onFinish={(elem, domNode) => domNode.focus()}
/> (According to this StackOverflow thread, this is an easy way to get Chrome to repaint an element. You can also try the other, more verbose solutions in that thread) This is obviously not a "nice" solution, but if we can't get to the bottom of the real issue, might be a fine band-aid. |
Thanks for the detailed answer, that really helped me ! My code will break for blocks with animations + perspective for now but it's quite rare that users use both. Thanks again and if you have any other ideas now that we know perspective is at the origin. |
Here is a video clip showing the problem.
https://drive.google.com/uc?id=1FKYxAF4bBVoDPOBqelfyPZOYiKh_oTMa
I'm using the accordion animation. I have the same problem for all the provided animations except "Fade".
This is working correctly on firefox and I'm pretty sure it was working ok on previous chrome version.
I couldn't replicate the bug on codesandbox or something like this so this must be a combination of my code + browser.
Based on the fact that only Fade is working, would you have ideas or things I could try ?
Here are the css properties on the element :
The text was updated successfully, but these errors were encountered: