Commit Graph

90 Commits

Author SHA1 Message Date
Andrew
e19863c37c fix(scroll): rename 'scroll.resize' to 'scroll-resize' for jQuery's sake
Closes #3384.
2015-04-15 11:25:27 -06:00
Adam Bradley
4b75b73df3 style(jscs): fix jscs errors 2015-04-15 10:47:15 -05:00
Andrew
ce06f6e40b style(): move from jshint to eslint 2015-04-14 16:28:20 -06:00
Andrew
bd4723c98d fix(collectionRepeat): when array is empty, dont use heightGetter/widthGetter
Closes #3440.
2015-04-14 10:28:54 -06:00
Andrew
1e36afc653 fix(collectionRepeat): compute width when height is not given
Closes #3357.
2015-04-06 18:22:27 -06:00
Andrew
6c08b780aa fix(collectionRepeat): properly resize when aside is exposed
Closes #3352.
2015-04-06 16:48:37 -06:00
Andrew
40bedd7dd3 feat(collectionRepeat): in grid, use height of tallest item in row
Closes #3387.
2015-04-06 15:54:05 -06:00
Andrew
f33967c4f5 amend(collectionRepeat): resize if width or height changes 2015-03-13 10:42:55 -06:00
Andrew
3dc6ab6a4a fix(collectionRepeat): properly delete items when setting size to 0
Refactored to create a `changeValidator` object that will properly tell
you if a resize or a data change requires a refresh.

Closes #3299.
2015-03-12 12:42:12 -06:00
Andrew
a3014830cf feat(collectionRepeat): resize on $ionicScrollDelegate.resize()
Closes #3292.
2015-03-12 12:01:37 -06:00
Andrew
540124d7d1 amend(collectionRepeat): fire leave event at correct time 2015-03-11 11:59:06 -06:00
Andrew
ee222c0246 perf(collectionRepeat): only close option buttons if theyre open
It's a hack, but it's the best we can do right now.
2015-03-11 11:52:37 -06:00
Andrew
83a20c61e6 fix(collectionRepeat): fix a dom problem with margins and position:relative
Closes #3277.
2015-03-11 11:52:29 -06:00
Andrew
2c2662fe81 fix(collectionRepeat): fix problem with option & delete buttons
Closes #3280.
2015-03-11 11:12:32 -06:00
Andrew
4f35d8e665 fix(collectionRepeat): make it work performantly with exposeAsideWhen
Closes #3244.
2015-03-11 11:12:32 -06:00
Andrew
f71c04dd2a perf(collectionRepeat): dont wait one frame for initial render 2015-03-07 14:01:48 -07:00
Andrew
4325025deb fix(collectionRepeat): fix data change while page disconnected, computed dimensions while no data
Closes #3240. Closes #3238.
2015-03-07 13:59:19 -07:00
Andrew
618a5d7084 amend(collectionRepeat): make sure it properly resizes on scroll 2015-03-05 08:57:38 -07:00
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