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

Material Tab Navigator not compatible with iPhone 12 #2323

Closed
comvenger-brandon opened this issue Oct 28, 2020 · 8 comments · Fixed by #2422
Closed

Material Tab Navigator not compatible with iPhone 12 #2323

comvenger-brandon opened this issue Oct 28, 2020 · 8 comments · Fixed by #2422

Comments

@comvenger-brandon
Copy link

The dependency react-native-safe-area-view should be changed to "^2.0.0", which supports the iPhone 12 series.

At the moment, the safe area does not work properly on iPhone 12.

@github-actions
Copy link

Couldn't find version numbers for the following packages in the issue:

  • react-native
  • react-native-paper
  • react-native-vector-icons

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

@markterm
Copy link

markterm commented Nov 1, 2020

I can see this issue with:

react-native: 0.63.3
react-native-paper: 4.2.0
react-native-vector-icons: 7.0.0

@hirbod
Copy link

hirbod commented Nov 15, 2020

I can confirm this. The fix was to:

expo install react-native-safe-area-view@next react-native-safe-area-context@next

If you're not on expo, just make sure that you install them with yarn/npm and make sure to have v2 and not 1.1.1

And add this to your package.json (below devDependencies on root level)

  "resolutions": {
    "react-native-safe-area-view": "^2.0.0"
  },

@LRNZ09
Copy link

LRNZ09 commented Nov 16, 2020

I still have this issue with react-native-paper version 4.3.1

@hirbod
Copy link

hirbod commented Nov 16, 2020

@LRNZ09 just pick the workaround I've posted. Works flawlessly

@LRNZ09
Copy link

LRNZ09 commented Nov 16, 2020

@hirbod your workaround works, but I'd like the @callstack team to take care of this bug

@mars-lan
Copy link
Contributor

@Trancever any chance we can get this fixed soon?

@HughBerryman
Copy link

HughBerryman commented Dec 10, 2020

sadly tried this but to no avail. Here's where a few of us are still having issues react-navigation/react-navigation#9110 (comment)

another issue reffing this: react-navigation/react-navigation#8842

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 a pull request may close this issue.

6 participants