Commit Graph

175 Commits

Author SHA1 Message Date
Andy Joslin
63b0a31970 refactor(scrollView): restart scroll if stopped, + or -
Addresses #482
2014-02-12 07:40:26 -05:00
Andy Joslin
eed6b19b51 fix(scrollView): start scroll again if it stops beyond boundaries
Addresses #482
2014-02-11 14:38:02 -05:00
Andy Joslin
fb5a0d4c81 fix(list): css: don't make last .list on page have margin-bottom
Addresses #425
2014-02-11 11:39:15 -05:00
Andy Joslin
4cc4a18c66 fix(scrollView): nested scrollViews now work independently
Closes #278
2014-02-10 09:53:40 -05:00
Andy Joslin
4c9a4c0c62 refactor(anchorScroll): only get element ids under scrollEl 2014-02-09 18:06:05 -05:00
Andy Joslin
7f4b28d9da feat(list): reordering scrolls page, reordering performance better
Fixes #521. Reordering now uses webkitTransform instead of
element.style.left.  Additionally, as you drag the drag-element to the
top or bottom of the scroll-area, it will scroll it up or down as
allowed.

Refactors necessary: Common code from `<content>` and `<scroll>` moved
into js/ext/angular/controllers/ionicScrollController.  Then `<content>`
and `<scroll>` expose the controller, and `<list>` can require it.

`<list>` then uses the controller (if exists) to pass the scrollView and
scrollEl to ReorderDrag, and ReorderDrag uses that to scroll.

Additionally, js/ext/angular/test/controller/ionicScrollController tests
much functionality that was untested before.
2014-02-06 15:04:23 -05:00
UniRing
bc927e57e7 feat(tabs): allow badges on tabbar via bound badge attr 2014-02-05 11:38:06 -05:00
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
41fc43675c Better focus delay for modals 2014-01-30 13:50:34 -06: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
Adam Bradley
73cad15ed2 checkbox/radio/toggle updates 2014-01-21 16:51:25 -06:00
Max Lynch
577b52fa11 Real fix for #444 with passing test 2014-01-20 18:13:37 -06:00
Max Lynch
734d03d1b9 Fixed #444 - support for disabling toggles 2014-01-20 17:57:51 -06:00
Max Lynch
27311d5d18 Added support for offset start scroll view 2014-01-13 19:29:32 -06:00
Max Lynch
879f63f402 Fixed loading view width for #364 2014-01-07 13:53:01 -06:00
Max Lynch
e1ae338b51 Fixed #288, added carousel support to slide box
Also fixed evevt bubbling and incorrect iOS 7 detection in mobile safari
2013-12-18 12:21:52 -06:00
Max Lynch
45ef1a540a Minifaction 2013-12-16 22:36:22 -06:00
Max Lynch
b9ebcd86a4 Much better slide box 2013-12-15 21:14:35 -06:00
Max Lynch
8bd8193c89 Nicer paging scroll feel 2013-12-15 18:19:04 -06:00
Adam Bradley
2779609766 improve list animations, closes #105 2013-12-13 22:33:17 -06:00
Max Lynch
ecbafa4bb6 Fixed reordering for #319 2013-12-12 20:24:59 -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
8ac0bafcee Merged new scroll stuff 2013-12-03 19:06:26 -06:00
Max Lynch
f3bf2c1348 Lots of solidification 2013-12-03 18:41:44 -06:00
Max Lynch
4155da065c Scroll improvements 2013-12-03 17:56:35 -06:00
Max Lynch
e336e4dc54 More removal of flexbox vert 2013-12-03 15:16:01 -06:00
Max Lynch
99e929b86d Side menu drag fix 2013-12-03 10:56:50 -06:00
Max Lynch
3f4fac80b7 Making some progress 2013-12-02 15:34:58 -06:00
Max Lynch
fbda047c1d Changed auto focus input field to false 2013-12-01 11:36:21 -06:00
Travis Russi
1fd7be8785 added Math.min in case the parent is smaller 2013-11-30 16:57:56 -08:00
Travis Russi
c96a46a0d7 fixed resize issue for scrolling 2013-11-30 16:24:20 -08:00
Adam Bradley
1c52a683e0 header remove left align with too small 2013-11-28 21:56:12 -06:00
Max Lynch
0d8ba0f067 Starting to move over to content directive 2013-11-27 15:15:28 -06:00
Max Lynch
4e42d7c996 Event easier scroll API 2013-11-27 15:10:06 -06:00
Max Lynch
c9b384c8a8 Slightly easier scroll API 2013-11-27 14:54:48 -06:00
Max Lynch
3267e80e64 Zynga Scroller in there 2013-11-27 14:42:04 -06:00
Adam Bradley
fc909e1612 reduce header title DOM read/writes 2013-11-27 11:49:19 -06:00
Adam Bradley
e56a1a9608 added parseInt radix 2013-11-27 10:45:15 -06:00