materialize icon indicating copy to clipboard operation
materialize copied to clipboard

Closing drawer with swipe bug

Open mitas1 opened this issue 9 years ago • 7 comments

After closing a drawer with swipe on a mobile device, dark overlay does not disappear.

screen

mitas1 avatar Feb 02 '17 12:02 mitas1

Duplicate of #4046

Dogfalo avatar Feb 02 '17 15:02 Dogfalo

I think this is a different issue. Can you explain why it is marked as duplicate? #4046 seems to be a problem with nesting and z-index, but I am talking about problems with touch events. In certain cases, after closing a drawer with swipe, it happens that the drawer closes but dark overlay div with id=sidenav-overlay does not disappear.

mitas1 avatar Feb 02 '17 16:02 mitas1

True, I mistakenly thought they were related at first.

Dogfalo avatar Feb 02 '17 17:02 Dogfalo

Can confirm the grey overlay is still present after swiping to close the mobile sideNav. When you drag out the sideNav and let go of the menu, and then swipe to close it the dark overlay stays. The overlay goes away if you keep touching the sideNav.

Also, the sideNav drag out is somewhat unresponsive. It seems you can only swipe to close by either keeping your finger on the sideNav or by swiping from outside of the sideNav to close it. When the sideNav is opened, you can't close from swiping within the menu. In addition, the sideNav doesn't always slide out when I try open it.

Device:

  • OnePlus 3
  • OxygenOS 4.0.2
  • Android Version 7.0

materialize-dark-overlay materialize-no-overlay

matthewsalan avatar Feb 05 '17 18:02 matthewsalan

Duplicate of #3872

mitas1 avatar Feb 10 '17 09:02 mitas1

I have the same problem :( (ver. 0.98.0)

jarekbb avatar Feb 14 '17 12:02 jarekbb

As @mitas1 said, this is a duplicate of https://github.com/Dogfalo/materialize/issues/3872

tomscholz avatar May 02 '17 14:05 tomscholz