Commit Graph

72 Commits

Author SHA1 Message Date
Andrew
cd5a5ead57 amend(collectionRepeat): if data.length is 0, refresh data 2015-03-04 15:30:09 -07:00
Andrew
4a0e317231 test(collectionRepeat): fix tests to add a timeout.flush() 2015-03-04 10:44:50 -07:00
Andrew
80a6e637c4 amend(collectionRepeat): allow async loading of data
Closes #3226.
2015-03-04 10:37:41 -07:00
Andrew
6c5555469c amend(collectionRepeat): dont use node.contains, it doesnt exist on Android 4.3- 2015-03-04 10:18:09 -07:00
Andrew
873cded5c9 amend(collectionRepeat): make sure it doesn't try to getComputedStyle of null 2015-03-02 14:12:52 -07:00
Andrew
72d39efd20 docs(collectionRepeat): mention old names for item-{width,height} 2015-03-02 13:05:59 -07:00
Andrew
815477773f docs(collectionRepeat): fix incorrect renderBuffer default value 2015-03-02 11:52:33 -07:00
Andrew
af7a03cd39 amend(collectionRepeat): make after container always calculate size correctly
Closes #2376.
2015-03-02 10:02:27 -07:00
Andrew
96e860134b docs(collectionRepeat): add link to ios image fixes 2015-02-28 10:05:33 -07:00
Andrew
cc0b916741 docs(collectionRepeat): update docs with more codepens 2015-02-27 12:51:20 -07:00
Andrew
864b46aa81 fix(collectionRepeat): restore scrollView's normal behavior when repeater is destroyed
Closes #2078.
2015-02-26 13:16:02 -07:00
Andrew
68800e35f5 style(collectionRepeat): remove test statement 2015-02-26 12:44:46 -07:00
Andrew
d27c5a3c3a test(collectionRepeat): add tests for getComputedStyle() 2015-02-26 12:37:37 -07:00
perry
59a0ce8f7b refactor(scrollController): remove unused dependency
also JSLint cleanup
2015-02-25 16:30:51 -06:00
Andrew
d7dc94618a test(collectionRepeat): add grid (dynamic & static) tests 2015-02-25 14:34:15 -07:00
Andrew
25f77dde58 amend(collectionRepeat): do not allow computed height/width to be 0 2015-02-25 10:42:04 -07:00
Andrew
e87449440e test(collectionRepeat): fix faulty tests 2015-02-25 10:21:01 -07:00
Andrew
27298e9209 fix(exposeAsideWhen): trigger a resize event when the aside is exposed
Closes #3054.
2015-02-25 10:17:51 -07:00
Andrew
d8c93b490b amend(collectionRepeat): on data change, resize after timeout 2015-02-25 09:48:21 -07:00
Andrew
432c7dca02 feat(collectionRepeat): if item-width/item-height not given, compute dimensions 2015-02-24 14:54:44 -07:00
Andrew
88aebad36e fix(collectionRepeat): resize scrollView when data changes
Closes #2523
2015-02-24 14:45:34 -07:00
Andrew
6c8c6753f3 docs(collectionRepeat): remove duplicate description tag 2015-02-24 14:38:55 -07:00
Andrew
4f4df5c4a5 test(collectionRepeat): add more resizing unit tests 2015-02-24 14:37:45 -07:00
Andrew
5c913c3bc5 docs(collectionRepeat): add note about not using one-time binding 2015-02-24 14:31:53 -07:00
Andrew
ac1626ed47 amend(collectionRepeat): only refresh dimensions when repeater has size 2015-02-24 14:28:50 -07:00
Andrew
07b20f4a27 amend(collectionRepeat): refresh dimensions afterEnter instead of reconnect 2015-02-24 14:13:46 -07:00
Andrew
1061ea7d0e amend(collectionRepeat): only refreshDimensions after element has
entered
2015-02-24 14:03:32 -07:00
Andrew
142a22b124 amend(collectionRepeat): refresh dimensions on scope reconnect 2015-02-24 13:59:13 -07:00
Andrew
3befdd7429 amend(collectionRepeat): broadcast event when element changes positions 2015-02-24 13:47:16 -07:00
Andrew
bb866da3d7 refactor(collection-repeat): performance 2015-02-24 13:24:51 -07:00
Andrew
b49444c3bc feat(collectionRepeat): add collection-buffer-size, collection-refresh-images attrs
Closes #1742.
2015-02-10 09:44:11 -07:00
Andrew
9416d7d7fa style(collectionRepeat): fix jshint errors 2015-02-09 12:04:17 -07:00
Andrew
83cc181800 style(collectionRepeat): fix jshint errors 2015-02-09 11:58:51 -07:00
Andrew
b7a0968933 fix(collectionRepeat): properly resize, but only when scrollView size actually changes
Closes #2935. Closes #3054.
2015-02-09 10:57:14 -07:00
Andrew
371007c031 docs(collectionRepeat): remove note about changing your css, we do that for you now 2015-02-06 14:54:02 -07:00
Andrew
4f0598dd47 fix(collectionRepeat): don't rerender on window resize when view is cached
Closes #2677.
2015-02-05 12:54:53 -07:00
Adam Bradley
223d89624d style(): main angular references 2015-02-02 20:49:04 -06:00
perry
7913ee0f28 fix(collectionRepeat): properly display sibling elements after a collection-repeat 2015-01-21 16:00:16 -06:00
perry
838996815c fix(collectionRepeat): Properly calcuate list height and show ion-infinite-scroll. Fixes #2376 2015-01-19 17:24:53 -06:00
Andrew
a49e577db8 fix(collectionRepeat): parse collection-item-height/width to int
Closes #2633.
2014-12-01 10:58:44 -07:00
Adam Bradley
3ddaf34722 fix(collectionRepeat): rerender after resize/enter
Previously on every `beforeEnter`, collection-repeats within a
ion-nav-view would rerender. However, this is only necessary when the
window resizes. The rerender already works when the collection-repeat
is within the active view because the scroll view has accurate
dimensions. But when the collection-repeat is within a cached view it
does not have dimensions, causing the rerender to incorrectly place its
items. This update will only rerender the collection-repeat if there
was a window resize, and the scroll view which the collection-repeat
was in, did not have dimensions at the time of the resize. If/when the
view becomes the active view again, the collection-repeat will rerender
on `afterEnter` when the scroll view has accurate dimensions.
2014-11-30 01:01:56 -06:00
Andrew
ba78a016b1 amend(collectionRepeat): remove accidental revert 2014-11-26 09:33:23 -07:00
Andrew
c1f4cbd773 fix(collectionRepeat): fix error when switching back to collection-repeat after resizing 2014-11-25 11:12:11 -07:00
Andrew
b9829e755a refactor(navView): expose self.scope as navView $scope 2014-11-25 11:06:31 -07:00
Sabrina
307636b833 fix typo for <ion-content> close tag 2014-10-09 18:07:54 +08:00
Andrew
977f681818 fix(collectionRepeat): with ngHref, make href attr erase if falsy
Fixes #1674
2014-08-11 10:29:32 -04:00
Andrew
5e025fbb01 fix(collectionRepeat): rerender when $ionicScrollDelegate resizes
Fixes #1777
2014-08-11 10:23:49 -04:00
Andrew
9bfa3bd18b fix(collectionRepeat): ignore spacing of hidden elements (ion-refresher)
Closes #1970
2014-08-11 10:06:31 -04:00
Andrew
7ddb57e60b feat(collectionRepeat): other children of ion-content element fit in
Closes #1920. Closes #1866. Closes #1380.
2014-08-06 10:32:40 -06:00
Perry Govier
4f6d02cfcb refactor(modal): trigger resize event on the window when modal opens
A better approach to resolving an issue with collection-repeat sizing itself properly. This keeps directives independent of eachother.
2014-07-24 14:45:40 -05:00