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

Drawer becomes narrower on subsequent opening #22

Open
daveteu opened this issue Jun 19, 2018 · 5 comments · May be fixed by #26
Open

Drawer becomes narrower on subsequent opening #22

daveteu opened this issue Jun 19, 2018 · 5 comments · May be fixed by #26

Comments

@daveteu
Copy link

daveteu commented Jun 19, 2018

If you toggle the menu open again and again, somehow the content becomes narrower.

shopbecomesnarrower

@YazeedAsaad
Copy link

Im facing this issue as well, did you find a solution ?

@slimtone
Copy link

Same here, i feel like i've tried everything and can't figure it out

@skrovina
Copy link

skrovina commented Sep 26, 2018

Same thing started to happen after update to React Native v0.55.4 from v0.51.0
I'm using the latest 0.2.5 version of the library.

Have you been able to work around this issue? @daveteu @YazeedAsaad @slimtone

@fivenp
Copy link

fivenp commented Oct 4, 2018

Facing the same problem here....

@fivenp
Copy link

fivenp commented Oct 4, 2018

After a quick try/error it seems like https://github.com/Tinysymphony/react-native-drawer-menu/blob/master/Drawer/index.js#L366 is causing this...

A "simple" this.styles.main.style.right = -dx.toFixed(3); turns out to fix my issue completely

Apparently react-native doesn't like more then 3 digits behind a number on right:-

fivenp added a commit to fivenp/react-native-drawer-menu that referenced this issue Oct 4, 2018
Signed-off-by: Michael Henning <mh@fivenp.com>
@fivenp fivenp linked a pull request Oct 4, 2018 that will close this issue
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.

5 participants