Skip to content

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

Open
fortinmike wants to merge 3 commits into
FuYaoDe:masterfrom
Simbioz:master
Open

Fix "skip", "next" and "done" button positions on iOS#113
fortinmike wants to merge 3 commits into
FuYaoDe:masterfrom
Simbioz:master

Conversation

@fortinmike
Copy link
Copy Markdown

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

@pedrofmlopes
Copy link
Copy Markdown

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
Copy Markdown

You can also apply the same style adding custom style:

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

@ChenLi0830
Copy link
Copy Markdown

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