root-two / react-native-drawer

React Native Drawer
MIT License
2.54k stars 390 forks source link

`openDrawerOffset` is something wrong on iPhone SE #318

Closed jaychsu closed 7 years ago

jaychsu commented 7 years ago

Expected: (it's working on iPhone 6)

iPhone 6

Wrong offset no matter opened or closed: (wrong offset on iPhone SE)

iPhone SE

Component props:

      <Drawer
        type="overlay"
        openDrawerOffset={50}
        ref={(ref) => { this.drawer = ref; }}
        tapToClose={true}
        content={
          <SideBarContent ...props />
        }
      >

p.s. this.drawer is used to calling the instance method .open() and .close()

jaychsu commented 7 years ago

It caused by the style error, ignore this plz.