darsain / sly

JavaScript library for one-directional scrolling with item based navigation support.
http://darsa.in/sly
2.87k stars 497 forks source link

Dragging fires other event in the page #264

Open brainsqueezer opened 7 years ago

brainsqueezer commented 7 years ago

It seems that the drag event bubbles when not desired. I have also a sidebar that can be opened by dragging the page and both events (horizontal scrolling and sidebar opening) are fired at the same time. It's doesn't make much sense to fire a general event in the page when a local one is fired. I have set scrollTrap option but seems that it's not working