Material-ui: [Drawer] Does not close in Safari iOS 8

Created on 15 Mar 2016  路  10Comments  路  Source: mui-org/material-ui

Including the LeftNav at all in an IOS 8 project makes the left nav unable to close whatsoever. IOS 9+ works just fine, android as well. I think this may have been the same issue as the safari issue this guy posted : https://github.com/callemall/material-ui/issues/3584.

But he closed it without resolution so I'm kind of stuck on what to do.

Drawer

Most helpful comment

I'll give it a shot if I have time this week.

All 10 comments

Same issue here. Happening in 14.3, 14.4 and 15.0.

@pmwisdom @e-monson I've closed #3584 because I have no response and I thought that it's gone in master. Seems like I was wrong. If you want to hack it fast, just create your own component, which extends LeftNav like this: https://jsbin.com/geqoxo/1/edit?js (add WebkitTransform and WebkitTransition, which dublicates the uprefixed ones). I'm using 0.14.3, this may differ from yours, so take actual getStyles from your LeftNav.

3691 is a new pain if you support Safari 8.* and Android 4.*. In this case you definitely must not update MUI, if 3691 will not be fixed.

So if i'm not the one experiencing this, I'll will dig into this issues.

@maxpechenin Thanks so much for the code, I'll try it out today. That should help a ton of people if it works.

@pmwisdom works for me. Let me know if it will not help in your case (providing a jsbin and some more information will be great), I will try to help.

Just wanted to report that your gist worked perfectly for me. Thanks @maxpechenin.

@pmwisdom : is this resolved for you?

@tintin1343 The gist from @maxpechenin worked for me. But the main repo does not include this fix, so although there is a workaround, its not resolved.

@pmwisdom @maxpechenin : Care to submit a PR?

I'll give it a shot if I have time this week.

We have been porting the component on the next branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rbozan picture rbozan  路  3Comments

pola88 picture pola88  路  3Comments

newoga picture newoga  路  3Comments

chris-hinds picture chris-hinds  路  3Comments

iamzhouyi picture iamzhouyi  路  3Comments