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

Set animation-fill-mode to fix .vex-closing flashing in IE 11 #233

Merged
merged 1 commit into from
Aug 29, 2017

Conversation

PixievoltNo1
Copy link
Contributor

IE 11 usually has a frame or two between the end of .vex-closing's animation and the removal of the vex from the DOM, which causes the user to see a flash of the vex in its fully-open state. This is fixed by setting the animation-fill-mode property to forwards, which this commit adds to the animation shorthand.

@bbatliner
Copy link
Contributor

This doesn't have any effects in other browsers, does it? I read through the MDN documentation for that property and that seems the case but I'm not a CSS animation expert.

PR looks good, can you confirm for me that this doesn't cause changes in other browsers? I'll merge in after.

@PixievoltNo1
Copy link
Contributor Author

No change in other browsers. I'm already using this in my own CSS without issue.

@PixievoltNo1
Copy link
Contributor Author

Looks like someone's reported this as an issue before; you can close #216 after merging this.

@bbatliner bbatliner merged commit 61f7c4c into HubSpot:master Aug 29, 2017
@PixievoltNo1 PixievoltNo1 deleted the animation-fill-mode branch August 30, 2017 03:53
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.

2 participants