React-native-paper: Menu is not working in iOS

Created on 2 Apr 2019  路  3Comments  路  Source: callstack/react-native-paper

Description

Menu component relies on StatusBar.currentHeight which is Android only as stated in react native docs
https://facebook.github.io/react-native/docs/statusbar

I've changed that line with the one below and it's working now
const top = Math.max(SCREEN_INDENT, y) + 40;

Simulator Screen Shot - iPhone 8 - 2019-04-02 at 15 19 25

bug

Most helpful comment

Once #976 is merged, issue will be fixed

All 3 comments

Hey! Thanks for opening the issue, @Trancever is working on it!

Once #976 is merged, issue will be fixed

Should be fixed on 2.15.2.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timothystewart6 picture timothystewart6  路  4Comments

zachariahtimothy picture zachariahtimothy  路  3Comments

ButuzGOL picture ButuzGOL  路  3Comments

scottybo picture scottybo  路  3Comments

sm2017 picture sm2017  路  4Comments