forcedotcom / scrollerjs

A JavaScript library that helps you build performant UI components for the web.
http://scrollerjs.com
Apache License 2.0
636 stars 63 forks source link

Minor bi-directional updates #18

Closed markdaws closed 9 years ago

markdaws commented 9 years ago

This commit includes:

  1. Enables "pull to refresh" when the user specified scroll="bidirectional", updated the multidirectional example to add pull-to-refresh
  2. In bidirectional mode, I changed it so that if you use the mouse scroll wheel it always scrolls the grid vertically vs. horizontally (which is the current default), which seems more natural
  3. Fixes an issue where if you perform a horizontal swipe gesture on a trackpad without first scrolling vertically, the horizontal swipe does not scroll the grid.
diervo commented 9 years ago

Merged! Thanks a bunch!