Skip to content

Conversation

@samnm
Copy link
Contributor

@samnm samnm commented Jan 19, 2017

This PR fixes the glitchy snackbar animation by holding on to each animation after it is completed.

Tested on device with rotation.

Closes #1018.

@ianegordon
Copy link
Contributor

Consider swapping constraints to animate the view on / off the screen.

@codecov-io
Copy link

codecov-io commented Jan 19, 2017

Current coverage is 28.79% (diff: 0.00%)

No coverage report found for develop at f1e6a3d.

Powered by Codecov. Last update f1e6a3d...695ce3b

@samnm samnm force-pushed the snackbar-glitch-fix branch from df26ea5 to 695ce3b Compare January 19, 2017 22:00
@samnm
Copy link
Contributor Author

samnm commented Jan 19, 2017

Changed the implementation to use constraint animation instead :)

@ianegordon ianegordon self-requested a review January 20, 2017 19:28
Copy link
Contributor

@ianegordon ianegordon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on iPhone 6 Plus sim.
Snackbar disappears without the visual glitch on complete.

@ianegordon ianegordon merged commit 30ce349 into material-components:develop Jan 20, 2017
@samnm samnm deleted the snackbar-glitch-fix branch January 20, 2017 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Snackbar] Glitch when tapping on a snackbar to dismiss.

4 participants