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

No more scroll #7

Open
spirylics opened this issue Nov 24, 2015 · 4 comments
Open

No more scroll #7

spirylics opened this issue Nov 24, 2015 · 4 comments

Comments

@spirylics
Copy link

We can't scroll with a long list.

Thanks for this job !

@ghost
Copy link

ghost commented Feb 29, 2016

Up !
Agree with you, i use the left-swipe-action in notification panel.
The elements are in a paper-header-panel.
I can scroll on chrome (computer).
I can't scroll on chrome (mobile) with fingers.

@beeva-miguelcollado
Copy link
Contributor

+1! The problem seems to be the component capturing the drag event, not allowing the full page to catch it and do the scrolling

@beeva-miguelcollado
Copy link
Contributor

This issue can be resolved by using Polymer's setScrollDirection. Here's a snippet from my use case:

fixScroll: function() {
    var nodes = Polymer.dom(this.root).querySelectorAll('left-swipe-action');
    var i = 0;
    for(i; i < nodes.length; i++) {
      var node = nodes[i];
      node.setScrollDirection('all',Polymer.dom(node.root).querySelector('#content'));
    }
  }

Edit: I just forked this repo with a fix within the very component to avoid having to use the external solution I described above. While the pr resolves, feel free to use my fork: https://github.com/beeva-miguelcollado/left-swipe-action

@tejitak
Copy link
Owner

tejitak commented Apr 14, 2016

Thanks to @beeva-miguelcollado , I published a new version v0.2.2.

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

No branches or pull requests

3 participants