Skip to content

Add opacity animation to fix the issue on Android. Use 'import' syntax to replace 'require' - #9

Open
jp928 wants to merge 1 commit into
kevinstumpf:masterfrom
jp928:master
Open

Add opacity animation to fix the issue on Android. Use 'import' syntax to replace 'require'#9
jp928 wants to merge 1 commit into
kevinstumpf:masterfrom
jp928:master

Conversation

@jp928

@jp928 jp928 commented Dec 16, 2016

Copy link
Copy Markdown

Add opacity animation to fix the issue on Android. Use 'import' syntax to replace 'require'

Use import to replace 'require'
@dgladkov

dgladkov commented Oct 7, 2017

Copy link
Copy Markdown

Looks like this project is abandoned. I've created https://github.com/dgladkov/react-native-flip-view-next that includes a similar fix and more.

My solution uses single Animated.Value for all animations and uses different interpolation function for opacity: instead of linear opacity transition used here it toggles between 0/1 as it reaches half transition (180deg rotation), emulating backfaceVisibility support on Android.

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.

3 participants