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 default modalPresentationStyle on < iOS 13 #6494

Merged
merged 4 commits into from
Aug 31, 2020

Conversation

danilobuerger
Copy link
Collaborator

Changes the default from overFullScreen to fullScreen on iOS 12 and below.

According to #5709

Below iOS 13, the default presentation style is always fullScreen presentation style.

Also looking at the blame it was indeed "fullScreen" not "overFullScreen"

This is also inline with the docs https://wix.github.io/react-native-navigation/api/options-root#modalpresentationstyle

The default presentation style is different on each platform.
iOS 12 and below - fullScreen
iOS 13 and above - pageSheet

Changes the default from overFullScreen to fullScreen on iOS 12 and below.

According to wix#5709
> Below iOS 13, the default presentation style is always fullScreen presentation style.

Also looking at the blame it was indeed "fullScreen" not "overFullScreen"

This is also inline with the docs https://wix.github.io/react-native-navigation/api/options-root#modalpresentationstyle

> The default presentation style is different on each platform.
> iOS 12 and below - fullScreen
> iOS 13 and above - pageSheet
@yogevbd yogevbd merged commit 0869fd0 into wix:master Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants