Commit Graph

20 Commits

Author SHA1 Message Date
Andy Joslin
17cc040896 fix(anchorScroll): find offset of nested elements correctly
Closes #618
2014-02-17 10:20:39 -05:00
Andy Joslin
a970f0bdc3 feat(domUtil): add getPositionInParent function
Find an element's offset, then add it to the offset of the parent
until we are at the direct child of parentEl.
Use-case: find scroll offset of any element within a scroll container
2014-02-09 11:36:15 -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
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
3a801ac955 Fixed #311 - scrollbars for scroll view 2013-12-11 16:15:55 -06:00
Adam Bradley
3cfcfc01a4 jshint fixes 2013-12-07 15:05:56 -06:00
Max Lynch
813fca93cc Disabled old test for Travis 2013-12-03 19:54:45 -06:00
Max Lynch
042e061113 Close to all tests passing 2013-11-18 22:18:38 -06:00
Max Lynch
d8bce833cd Trying with firefox instead of phantom 2013-11-18 22:07:00 -06:00
Max Lynch
599dd732d4 Updating tests, fixing some old toggle and tab stuff 2013-10-29 12:04:44 -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
6ac2cd3797 Progress on #37 2013-10-15 14:33:49 -05:00
Max Lynch
4174fc3d49 Header bar unit. 2013-10-02 15:18:14 -05:00
Max Lynch
7b792d7d49 Started header bar view 2013-09-26 22:38:25 -05:00
Max Lynch
a8a2217182 Event unit and some minor cleanups 2013-09-25 10:42:20 -05:00
Max Lynch
37d708b05e Tests organization and cleanup
Moved hacking tests to test folder, got rid of ionic=window.ionic for
wrapper functions in JS files.
2013-09-24 17:22:36 -05:00