Open yorrd opened 8 years ago
That is certainly an issue. This issue is less noticeable in app-drawer because the user needs to pass a threshold for the drawer to close. e.g. https://elements.polymer-project.org/bower_components/app-layout/demo/demo6.html
Description
When the drawer is scrollable in the y-axis because there is too much content, even the slightest move in the x-direction when scrolling is going to close the drawer.
Expected outcome
Be a little more forgiving, only close the drawer when
1) we're not scrolling in y-direction at the same time 2) give devs the ability to change the threshold at which the close event is triggered
Actual outcome
Live Demo
Any drawer which is scrollable and - in my case - 275px wide
Steps to reproduce
1) make a drawer which is 275px wide 2) put content in it so that it's scrollable in the y-direction 3) scroll naturally on your phone and notice that it closes oftentimes when you actually would want it to stay open