Skip to content

Mousewheel support#7

Open
iamdustan wants to merge 1 commit into
petehunt:masterfrom
iamdustan:mousewheel-support
Open

Mousewheel support#7
iamdustan wants to merge 1 commit into
petehunt:masterfrom
iamdustan:mousewheel-support

Conversation

@iamdustan
Copy link
Copy Markdown

Add experimental mousewheel support.

This is a simplistic port of ftscroller’s mousewheel support.
https://github.com/ftlabs/ftscroller/blob/master/lib/ftscroller.js#L2255-L2323

As such, it currently still suffers from extra delayed mousewheel bounce backs on platforms that have intertial scrolling due to mousewheel events firing throughout the native inertial scroll behavior.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO:

  • check for a maximum extend from boundary and fire scroll.doTouchEnd at that point.
  • eat all remaining intertial scroll events

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

Successfully merging this pull request may close these issues.

1 participant