Commit Graph

1451 Commits

Author SHA1 Message Date
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
Andrew Joslin
cec3a42236 fix(ionNavBackButton): stop flicker when pressing back on ios 2014-06-11 16:07:38 -06:00
Max Lynch
c30be67f65 feat(platforms): Android and iOS Specific Styles and Transitions 2014-06-11 16:48:53 -05:00
Andrew Joslin
8476f0cb3a docs(collectionRepeat): update docs for optimizations 2014-06-11 15:34:11 -06:00
Adam Bradley
86e1fe9a54 fix(scroll): input text selecting w/ mouse events
Do not preventDefault() within scrollView, mousedown when the target is
a text input. Closes #1475
2014-06-11 13:50:40 -05:00
Andrew Joslin
e2ec0bfffe amend($ionicActionSheet): remove unused line of code 2014-06-11 11:33:56 -06:00
Andrew Joslin
087e55f320 feat($ionicActionSheet): add cancelOnStateChange option, default true
Closes #1318

BREAKING CHANGE: $ionicActionSheet's default behavior is now to cancel
when the app's state changes.  To disable this behavior, pass
`cancelOnStateChange: false` into $ionicActionSheet.show().
2014-06-11 11:28:53 -06:00
Andrew Joslin
05dd7b1864 feat(ionic.Platform): add ionic.Platform.setGrade() function
Closes #1104
2014-06-11 11:15:33 -06:00
Andrew Joslin
a034561516 amend(ionTab): fix tests for class attribute 2014-06-11 08:49:17 -06:00
Andrew Joslin
30a3c8e0c8 fix(collectionRepeat): remove elements at correct time when leaving page 2014-06-11 08:43:00 -06:00
Julien Goux
e6f79cc0ff feat(ionTab): add class attribute to tab items 2014-06-11 08:36:36 -06:00
Andrew Joslin
6af5d68da4 feat(collectionRepeat): huge optimization upgrades
Closes #1597
2014-06-10 17:56:35 -06:00
Andrew Joslin
64f847aac7 docs($ionicModal): typo 2014-06-10 12:57:39 -06:00
Andrew Joslin
288dfedca3 docs($ionicModal): remove unnecessary sentence 2014-06-10 12:55:01 -06:00
Andrew Joslin
13853b68b7 docs($ionicModal: add colon 2014-06-10 12:54:37 -06:00
Andrew Joslin
12765cea47 docs($ionicModal): add related link to ionicModal controller at top 2014-06-10 12:54:03 -06:00
Andrew Joslin
b2caa16c77 docs(modal): add note about modal.removed,hidden,shown in $ionicModal 2014-06-10 12:51:36 -06:00
Perry Govier
ead5e026b9 fix(radioButtons): Correcting a bug introduced by 521164db78. Closes #1599 2014-06-10 10:57:19 -05:00
Adam Bradley
772459df1e fix(tap): ignoreScrollStart w/ data-tap-disabled
If an element, or one of its ancestors, has the `data-tap-disabled`
attribute, then it should not start the scroll. Closes #1505
2014-06-10 10:18:18 -05:00
Adam Bradley
f5bb023ef7 fix(tap): cancel simulated click w/ hold events
Gesture hold event and ionic’s tap will both fire since the tap has no
strict duration between its start and end (a click will always fire no
matter how long the press is held). If a hold event fires from
ionic.Gesture, then the simulated click which would fire on
touchend/mouseup should be canceled.
2014-06-09 22:00:35 -05:00
Andrew Joslin
a5230749a7 docs(ionInfiniteScroll): improve explanation of infiniteScrollComplete event 2014-06-08 12:34:43 -04:00
Perry Govier
d779346393 fix(listView): avoiding potential memory leak from assigning properties directly to an element 2014-06-06 15:26:58 -05:00
Perry Govier
afdf0ad764 fix(listView): position dragged list item properly when list view's parent is offset. Closes #1583 2014-06-06 15:14:52 -05:00
Andrew Joslin
b7646a5630 fix($ionicActionSheet): stop memory leak due to hidden element staying in dom
BREAKING CHANGE: $ionicActionSheet now returns a method to hide the
action sheet.

Previously, it returned an object that had a `show` and `hide` method.
This was undocumented, but if you used it, here is how to migrate your
code:

Change your code from this:

```js
var sheet = $ionicActionSheet.show({...});
sheet.hide();
```

To this:

```js
var hideSheet = $ionicActionSheet.show({...});
hideSheet();
```
2014-06-06 13:45:38 -04:00
hallucynogenyc
323e2ce22d fix($ionicActionSheet): fix problems with cancel() not being called
Closes #1013, #1576.
2014-06-06 13:22:13 -04:00
Adam Bradley
a43980bbcc Merge pull request #1430 from malixsys/patch-4
fix(rAF): fixing requestAnimationFrame & cancelAnimationFrame
2014-06-05 20:01:16 -07:00
Andrew Joslin
9942045fb2 amend($ionicModal): if hardwareBackButtonClose false, back button is noop
Addresses #1397
2014-06-05 07:29:39 -06:00
Andrew Joslin
00c80e8557 feat(ionScroll): add has-bouncing=true/false attribute
Closes #1573. Closes #1367.
2014-06-04 14:14:31 -06:00