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

Too easy to accidentally close the drawer when scrolling on mobile (regression of #73) #140

Open
2 tasks done
ronnyroeller opened this issue Mar 31, 2016 · 2 comments
Open
2 tasks done

Comments

@ronnyroeller
Copy link

Description

Issue #73 occurs again:

When the drawer contains a tall list and the user wants to scroll that list, it is way too easy to accidentally close the drawer because the finger will drag diagonally and a very little horizontal movement will close the drawer.

In the Inbox app, you have to drag left past 50% width to make the drawer close, similar for opening the drawer. Also, in the Inbox app, when you start scrolling the drawer up or down, the drawer is prevented from closing. The drawer will either close or scroll, but not do both.

I think paper-drawer-panel could temporarily disable dragging when a upward or downward finger movement has been detected.

Expected outcome

Horizontal scrolling should be locked when scrolling vertically through the drawer.

Actual outcome

One closes the drawer accidentally when scrolling vertically through a drawer because horizontal scrolling isn't locked any longer.

Live Demo

Example: https://output.jsbin.com/hopikoxeqa

Browsers Affected

  • Safari on iOS 9.3 (13E233)
  • Chrome on iOS 9.3 (13E233)
@frankiefu
Copy link
Contributor

This is because setScrollDirection in Polymer is not working: Polymer/polymer#3667

@5amfung
Copy link

5amfung commented Oct 4, 2016

Polymer team had a chance to look into this issue?

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

3 participants