Commit Graph

1478 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
e3db08563b fix(sideMenu): when drag-content=false, allow drag-to-close
Closes #1419
2014-07-07 12:42:51 -06:00
Andrew
685111ef89 refactor(tap): use !! to check boolean in classList check 2014-07-07 12:28:17 -06:00
Andrew
5bf75321fc fix(tap): only check classList on tap target if it has classList
Closes #1677
2014-07-07 12:26:36 -06:00
Andrew
1c789f8a88 fix(scrollView): always stay exactly within boundaries after bounce
Closes #1736
2014-07-07 12:18:20 -06:00
Andrew
d5d38bb081 refactor(collectionRepeat): add a require-able controller to the directive 2014-07-07 11:48:44 -06:00
Andrew
c482d477af refactor(collectionRepeatDataSource): remove accidental test variable 2014-07-07 11:47:13 -06:00
Andrew
cdba48f196 fix(navBar): only add default animation if there is no custom animation
Closes #1671
2014-07-07 11:40:21 -06:00
Andrew
22a81fe82c test(list): use timeout.flush() 2014-07-06 14:29:33 -06:00
MGMsystems
ba56bb983f feat(ionSideMenu): add edge-drag-threshold, delegate edgeDragThreshold()
Closes #1570
2014-07-06 14:22:26 -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
Sergii Iushchuk
0dad2ed6e8 fix(sliderView): "getBoundClientRect" typo 2014-07-04 19:56:28 -06:00
Andrew
365b5a6bd6 refactor(scrollController): remove console.logs 2014-07-04 19:56:28 -06:00
Perry Govier
7630bd419f fix(loading): Prevent clicks on modal views when loading is active. Closes #1720 2014-07-03 16:16:21 -05:00
townside
c2dbb31856 docs(headerFooter): Typo 2014-07-03 14:13:26 -05:00
Perry Govier
889482e048 fix(tap): fire input behavior when tap/clicking file input label. Closes #1699 2014-07-02 18:27:07 -05:00
Perry Govier
19c40986af chore(jshint): clearing semicolon warnings 2014-07-02 14:08:18 -05:00
Perry Govier
1b51231e8f docs(collectionRepeat): Noting that the dimensions must be known ahead of item creation. Closes #1707 2014-07-01 10:12:57 -05:00
FabianSperrle
9f7960c98b docs(navBar): Corrected typo 2014-06-30 13:40:36 -05:00
Perry Govier
704fe402e7 fix(radio): suport ng-disabled. Closes #1684 2014-06-27 15:58:17 -05:00
Perry Govier
3e6ce1831b fix(popup): if popup is taller than the window, shrink the popup body and make it scrollable. Closes #1679 2014-06-27 11:27:06 -05:00
Andrew
9b601b5523 fix(scrollController): allow tab $historyId to remember scroll
Fixes a bug with tabs, where tabs would only remember their scroll
position when directly related to a view state.

Closes #1654
2014-06-24 09:57:53 +09:00
Andrew
86ce480696 fix(sliderView): find width properly when element is transformed
Fixes #1313
2014-06-24 09:39:03 +09:00
Max Lynch
6eefee3d7e fix(headerBar): scroll to top 2014-06-23 15:02:06 -05:00
Tim Lancina
f2f55199b9 fix(scrollView): clonedInputs get placeholder text if any 2014-06-23 11:42:58 -05:00
Perry Govier
501282fd42 docs(content): add start-y parameter to ion-content documentation. Closes #1324
Here's an example http://codepen.io/perrygovier/pen/GEIwc
2014-06-19 17:59:44 -05:00
Adam Bradley
2e3b854658 fix(tap): get containing label of deeply nested element
The `tapContainingElement` method was not working correctly to climb up
the DOM of a clicked element to potentially find an ancestor label
element. Closes #1643
2014-06-18 15:03:52 -05:00
Tim Lancina
ad08b341ce fix(keyboard):don't setKeyboardShow on date/time inputs
Closes #1638.
2014-06-18 14:33:34 -05:00
Andrew Joslin
b2585f19ca fix(collectionRepeat): fix scroll when item bigger than viewport
Closes #1621
2014-06-17 17:42:10 +00:00
Adam Bradley
96b2243f15 fix(scroll): safari scroll content height
Safari and Chrome have two different opinions of what `scrollHeight`
means. It appears Safari is not taking into account that the parent
element can have padding applied which changes the scrollHeight. Closes
#1411
2014-06-17 10:52:52 -05:00
arturokunder
c6fb60cd68 Update actionSheet.js
fixed a typo at the params description
2014-06-17 09:54:00 -04:00
Andrew Joslin
b4b94073d5 fix(gestureDirectives): fix problem with event being passed in 2014-06-17 13:16:31 +00:00
Adam Bradley
a057734631 fix(cancelAnimationFrame): polyfill in ionic.DomUtil 2014-06-16 12:49:54 -05:00
Andy Joslin
ae8136d21d fix(utils/dom): do not add rAF polyfill to window
A pull request (#1430) was merged that added a requestAnimationFrame polyfill to
the window on platforms that do not have rAF.  This was overlooked.
This now has created conflicts with Angular 1.2.17 on Android browsers
that do not have requestAnimationFrame.

The problem was that a polyfill for requestAnimationFrame was put onto the
window for Android <4.3. AngularJS would then check if
window.requestAnimationFrame existed.  Angular's check passed, and then
it would try to use cancelAnimationFrame which was undefined.

Now, nothing on the window is changed.
2014-06-16 16:21:33 +00:00
Adam Bradley
be351ce1fa fix(headerBarView): check for null in getTextBounds
In Android <= 4.3, getBoundingClientRect does not return a rect for a
text node, closes #1377.
2014-06-16 09:09:03 -05:00
ohh2ahh
a0b61e0c2c docs(actionSheet): correct show() method example 2014-06-14 16:20:55 -05:00
Adam Bradley
731cf726a9 test(floatingLabel): snapshot tests 2014-06-13 09:36:14 -05:00
Adam Bradley
53c171043e fix(content): scroll=false in sidemenu hides content
Closes #1485
2014-06-12 21:38:54 -05:00
Adam Bradley
8da9f34ba2 fix(tap): error when releasing outside of browser
Closes #1612
2014-06-12 20:23:13 -05:00
Ionitron
0d27e0e537 amend(ionRadio): make sure value is passed down always 2014-06-12 15:32:49 -06:00
Ionitron
5fd5e009a6 fix(ionRadio): make value attribute work 2014-06-12 15:28:17 -06:00
Tim Lancina
050b4f25df feat(itemFloatingLabel): add floating labels: 'item-floating-label' class
Closes #1611
2014-06-12 14:58:28 -06:00
Max Lynch
1a7c1f1dc6 fix(headerBar): More accurate scroll-to-top detection 2014-06-12 13:48:32 -05:00
Max Lynch
0e647e77af Holding off on platform tweaks just yet 2014-06-12 13:29:01 -05:00
Adam Bradley
f0bafafec0 refactor(gesture): move eventType out of compile
eventType only needs to be set once per directive, not every compile.
2014-06-12 11:52:11 -05:00
Adam Bradley
90b4d34630 refactor(gestures): $event local and simplify init 2014-06-12 11:40:23 -05:00
Adam Bradley
a2dcaf13cc feat(gestures): added gesture directives
Closes #829
2014-06-12 10:49:07 -05:00
Andrew Joslin
bea69fe46c amend(platform-backButton): do not set icon if icon child exists 2014-06-12 09:23:30 -06:00
Andrew Joslin
e4ab045e30 feat($ionicSlideBoxDelegate): add start() to resume after stop
Closes #1584
2014-06-12 09:02:35 -06:00
Aleksey Podskrebyshev
4831f48954 fix($ionNavView): prevent read property 'name' of null
Closes #1587
2014-06-12 08:25:12 -06:00