Commit Graph

12 Commits

Author SHA1 Message Date
Andrew
2e9d0965a5 fix(ionList): allow scrolling while reorder or delete is active
Closes #1703
2014-07-07 13:03:52 -06:00
Andrew
ba1859b308 fix(ionReorderButton): stop ngRepeat:dupes error when reordering
Closes #1601.

BREAKING CHANGE: Reordering with ion-reorder-button no longer changes the order of the items in the DOM.

This change will only break your list if you were not using the
onReorder callback as described in the documentation.

Before, while reordering an element in a list Ionic would swap the
elements underneath as the reordering happened.  This sometimes caused
errors with angular's ngRepeat directive.

Now, reordering an element in a list does not change the order of
elements in the DOM.  It is expected that the end developer will use the
index changes given in the `onReorder` callback to reorder the items
in the list. This is simple to do, see the [examples in the
ionReorderButton
documentation](http://ionicframework.com/docs/api/directive/ionReorderButton/).
2014-07-06 13:39:56 -06:00
Andrew Joslin
75e30003a8 chore(): move demos out of source files 2014-05-27 11:21:08 -06:00
Andrew Joslin
49f06f9c3d fix(scrollView): make xy scrolling work on ionScroll and ionContent
Closes #1462
2014-05-21 13:13:29 -06:00
Andrew Joslin
c5fabebd57 demo(ionList): add two basic demos 2014-05-20 10:56:22 -06:00
Andrew Joslin
cc46735c82 fix(ionReorderButton): fix onReorder not triggering angular digest 2014-05-20 08:59:34 -06:00
Andrew Joslin
4d793fd9f4 demo(ionList): add demos 2014-05-20 08:59:34 -06:00
Andrew Joslin
462ef38f44 chore(ionList): clean up code 2014-05-15 07:30:51 -06:00
Andrew Joslin
b785955348 chore(): factor out some angular functions to variables 2014-05-07 14:54:51 -06:00
Andy Joslin
81676e6ef7 fix(ionList): disable swiping of items while option buttons are shown
Addresses #1202
2014-04-25 07:05:28 -06:00
Andy Joslin
634b3971b1 fix(ionList): disable tap on element being edited
Addresses #1202
2014-04-25 07:05:28 -06:00
Andy Joslin
14a2790749 refactor(): reorganize source files 2014-04-14 10:47:27 -06:00