Closed Link2Twenty closed 5 years ago
@Link2Twenty little confused what you mean by this. Are you saying if the sliding-pages element doesn't fill the whole screen, if you start scrolling within the element, it stops scrolling of the page?
It seems that setScrollDirection
is gone in 2.0. I found a possible replacement for that called Polymer.Gestures.setTouchAction
, but using it like @Link2Twenty did in l2t-paper-slider still produces #2 error.
Polymer.Gestures.addListener(this, 'track', e => this._handleTrack(e));
Polymer.Gestures.setTouchAction(this, "y");
Any ideas guys?
At the moment you can not scroll vertically on a page when you start scrolling from within the element.
To solve this you need to use
setScrollDirection
, or at least that's what I did 🙂https://www.polymer-project.org/1.0/docs/devguide/gesture-events