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

Closing way too quickly when swiping to the side #150

Open
yorrd opened this issue Aug 14, 2016 · 1 comment
Open

Closing way too quickly when swiping to the side #150

yorrd opened this issue Aug 14, 2016 · 1 comment

Comments

@yorrd
Copy link

yorrd commented Aug 14, 2016

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
@blasten
Copy link
Contributor

blasten commented Aug 16, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants