Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Elements within the container start swiping upon drag #5

Open
ghost opened this issue Dec 14, 2015 · 1 comment
Open

Elements within the container start swiping upon drag #5

ghost opened this issue Dec 14, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 14, 2015

Elements within the iron-swipeable-container begin to swipe upon even the most minor horizontal interaction e.g. vertical drag. This can be observed in any simple example or even the demo of this element.

Would be great to be able to configure the distance before the swipe begins or some other interpretation of the 'sensitivity' for swipeable elements.

@adelcasse
Copy link

I did a quick and dirty "fix" on this for my own purpose : code is there https://code.scity.coop/polymer-elements/ridygo-swipeable-container (most likely to be up-to-date with my changes in the future as it's my company's git server) or there on Github https://github.com/Ridygo/ridygo-swipeable-container .

I also prevented swiping to the right (swipe left only, you have to remove this check in the code if you want woth ways) and have set a distance of 50px (hardcoded but it's be easy to make it configurable if needed)

I also didn't update the tests and didn't check if the demo passes, so not ready at all for a push request right now ;)

@notwaldorf notwaldorf removed their assignment Aug 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants