-
Notifications
You must be signed in to change notification settings - Fork 390
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
drawer width decreases on open and close #370
Comments
This still doesn't work for devices X and X plus devices. Can anyone update on this issue. I am using this in production and its breaking things |
Hi guys. You should pass props
With this prop Drawer works correctly |
Hello, @Dimon70007! Have you tested it on an iPhone X? Because it doesn't help me :( |
Hi @demothreen. Drawer from |
confirm - on Iphone XS have reproduced this bug
animating works fine on iphone |
I have found solution - #352 (comment) |
Hi @demothreen. You can try #372 in your project. |
Hi @Dimon70007! I have not tried your changes. For my project I have already used DrawerLayout from "react-native-gesture-handler" - for ios and android works great for me! |
Thank you very much. I've adopted this DrawerLayout for my App. It looks better then js Drawer. |
I was having issue of drawer width .when i open and close and then reopen the drawer width was closed.It continuously decrease after reopening it.I found its solution kindly replace 210 line of react-native-drawer/index.js componet with the following line.Then it would be resolved .Kindly update and release this version.
instead of this ----> drawerProps[this.props.side] = -this.getDeviceLength() + this._offsetOpen + this._length
place this-----> drawerProps[this.props.side] = Math.round(-this.getDeviceLength() + this._offsetOpen + this._length)
The text was updated successfully, but these errors were encountered: