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

Fix "skip", "next" and "done" button positions on iOS #113

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

Fix "skip", "next" and "done" button positions on iOS #113

wants to merge 3 commits into from

Conversation

fortinmike
Copy link

Fixes #111. Not tested on Android, so please do before merging.

@pedrofmlopes
Copy link

Hello, all you have to do to fix that issue is go to AppIntro.js file, inside react-native-app-intro and change flex inside styles.btnContainer to 1:

....
btnContainer: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
height: 50
},
...

Hope it helps

@arturowczarek
Copy link

You can also apply the same style adding custom style:

<AppIntro customStyles={{ btnContainer: {flex: 1} }}>
...
</AppIntro>```

@ChenLi0830
Copy link

Works, thanks @fortinmike & @arturowczarek !

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.

4 participants