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

Add animation when overlayOpacity is zero #275

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ArthurInTheShell
Copy link

Added a check for the overlayOpacity that is passed in and also Theme.overlayOpacity, whichever one is used. Use 'overlayOpacityStartedZero' in state to check if the overlayOpacity started as 0. Allow close animation to work without changing the opacity when it started as 0.

related to issue #274 and #267

Added a check for the overlayOpacity that is passed in and also Theme.overlayOpacity, whichever one is used. Use 'overlayOpacityStartedZero' in state to check if the overlayOpacity started as 0. Allow close animation to work without changing the opacity when it started as 0.
@ArthurInTheShell
Copy link
Author

This is my first pull request ever, please point out my mistake if this PR is bad. I will learn from my mistake!
This is a really useful package! Thanks for building it!
第一次PR,如果有什麼做不對的地方請指出。我會改正的!
這個package超讚,謝謝你創造它!

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