Andy Joslin
59c10d4f92
fix(scrollView): if bouncing past boundaries, do not stick.
...
Closes #482
Zynga Scroller slowly lowers the acceleration of scroll as soon as you pass the
boundaries. Once the acceleration reaches zero, zynga will 'flip' the
acceleration in the other direction and scroll back to within the
boundaries (bounce effect).
The problem is, sometimes as it slowly lowers the
acceleration it will get *near zero*, but not reach zero. When
acceleration gets close enough to zero, zynga stops the scrolling
because it deems it 'too slow'.
Now, the scrolling acceleration will 'flip' and go back towards being
in boundaries (bounce) when the scrolling is below a certain minimum,
not just when it is below zero.
2014-02-03 12:06:33 -05:00
Max Lynch
790c97a428
Fixed #461 - PTR Android
2014-01-23 09:11:40 -06:00
Max Lynch
050870e5f4
Fixed #458
2014-01-22 23:12:50 -06:00
Max Lynch
27311d5d18
Added support for offset start scroll view
2014-01-13 19:29:32 -06:00
Max Lynch
8bd8193c89
Nicer paging scroll feel
2013-12-15 18:19:04 -06:00
Max Lynch
2285c24362
Fixed #264 and #286 - snapping scroll
2013-12-12 18:49:49 -06:00
Max Lynch
edeac3321a
Bad console.log, Bad!
2013-12-12 14:38:19 -06:00
Max Lynch
37c6ac81ac
Fixed #317
2013-12-12 14:26:12 -06:00
Max Lynch
7044398471
Scrollbars auto fade out - #317
2013-12-12 10:51:47 -06:00
Max Lynch
098020e511
Fixed #315 - scroll size waiting
2013-12-11 17:07:10 -06:00
Max Lynch
3a801ac955
Fixed #311 - scrollbars for scroll view
2013-12-11 16:15:55 -06:00
Max Lynch
2e87fe306e
Fixed #296 - scrollview dynamic sizing
2013-12-08 20:34:32 -06:00
Max Lynch
c2316856d3
Reverted jshint changes for scrollView.js
2013-12-07 19:55:29 -06:00
Adam Bradley
3cfcfc01a4
jshint fixes
2013-12-07 15:05:56 -06:00
Max Lynch
7bd2e5263d
Expose an onScroll event
2013-12-05 19:30:18 -06:00
Max Lynch
41744297f8
Added more scroll padding
2013-12-04 12:37:47 -06:00
Max Lynch
4f61e91d2b
Fixed #228
2013-12-03 19:50:27 -06:00
Max Lynch
8fe6e189ba
Fixed #179 - overflow scroll not working
2013-11-24 23:50:19 -06:00
Max Lynch
623b78966e
Fixed #124 - rubber banding when too small
2013-11-12 19:32:46 -06:00
Max Lynch
0fecad1a50
Fixed #114 - scroll view optional banding
2013-11-11 22:05:40 -06:00
Max Lynch
58dc717ab9
Reduced drag banding resistance
2013-11-11 20:34:58 -06:00
Max Lynch
262a4cc9a8
Fixed #113 - scroll bouncing regardless of window size, fixes pull to refresh
2013-11-11 16:54:01 -06:00
Max Lynch
d082c0c148
Fixed #56 - pull to drag
2013-11-08 16:58:14 -06:00
Max Lynch
7c4a37e56a
On refresh opening
2013-11-08 15:44:22 -06:00
Max Lynch
8a7db90aaf
Refresh and refresh callback on content directive
2013-11-08 15:32:50 -06:00
Max Lynch
f2ebba53f1
Nice pull to refresh behavior
2013-11-08 12:38:58 -06:00
Max Lynch
fcccc165e0
Added support to stop refresh
2013-11-08 11:35:26 -06:00
Max Lynch
a236f459f3
Only show refresher on drag
2013-11-08 11:28:40 -06:00
Max Lynch
74e28c61c5
Much faster pull to refresh
2013-11-08 11:22:51 -06:00
Max Lynch
1f9d60223a
Fixed refresher missing bug
2013-11-07 19:47:05 -06:00
Max Lynch
32d0f48e21
Fixed #99 with requestAnimationFrame polyfill
2013-11-07 19:24:55 -06:00
Max Lynch
d37ec6fca2
Pull to refresh work for scroll #56
2013-11-07 17:38:35 -06:00
Max Lynch
6c4a5177be
Fixed list drag subclassing #27
2013-11-07 12:55:13 -06:00
Max Lynch
979fe8fb7b
Fixed infinity problem in scroll view
...
I guess you can't divide by zero still.
2013-10-30 11:14:24 -05:00
Max Lynch
5b618ffdd9
Don't momentum if no pixel change Fixed #61
2013-10-28 22:10:14 -05:00
Max Lynch
e66a27996b
Cubic bezier momentum event triggering
...
Emulates the CSS cubic-bezier function to interpolate transition values
to trigger intermediate scroll events.
2013-10-28 19:15:06 -05:00
Max Lynch
43c3c4136b
Pass list view window virt test
2013-10-28 16:34:57 -05:00
Max Lynch
c85426e068
Working on virtual list viewport stuff
2013-10-28 15:48:02 -05:00
Max Lynch
a3edee2ff9
Fixed scroll end thing
2013-10-28 10:42:59 -05:00
Max Lynch
9afb405b77
Fixed interialEventInterval for scrolling, added biglist test
2013-10-28 10:34:07 -05:00
Max Lynch
6a8750e126
Trigger didScroll on scroll for inherited list views
2013-10-28 09:07:33 -05:00
Max Lynch
3d3ef32872
I broke all the things
...
Making scroll working for ListView, inheriting from ScrollView like iOS.
2013-10-25 21:09:22 -05:00
Max Lynch
8537fe594e
Mousewheel works for horiz and vert
2013-10-25 18:11:53 -05:00
Max Lynch
46905e4a2b
Better default bounce animation
2013-10-25 18:02:31 -05:00
Max Lynch
4193347e11
Fixed final rubber banding issue
2013-10-25 18:00:19 -05:00
Max Lynch
70946699a5
Fixed vert scrolling issue.
2013-10-25 17:54:25 -05:00
Max Lynch
bb97ff065c
Scroll size limit
2013-10-25 17:32:23 -05:00
Max Lynch
a7c7fe1523
Toilet seat CSS animation
2013-10-25 16:29:56 -05:00
Max Lynch
0f883f088f
Horiz scroll working yall!
2013-10-25 16:19:32 -05:00
Max Lynch
5c0dd9eb33
More scroll work
2013-10-25 14:57:26 -05:00