Commit Graph

94 Commits

Author SHA1 Message Date
Andrew Joslin
22053edb46 test(navBackButton): disable android platform test 2014-06-12 15:01:05 -06: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
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
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
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
8c36a667d8 test(actionSheet): fix test for angular v1.2.17 2014-06-10 15:27:48 -06: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
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
Andrew Joslin
f5f5851b2e fix(ionItem): make target attribute work properly
Closes #1521
2014-06-04 14:03:44 -06:00
Andrew Joslin
9ffca1e4eb feat($ionicModal): add hardwareBackButtonClose as option, default true
Closes #1397
2014-06-04 13:45:21 -06:00
Andrew Joslin
979f7b5275 fix(ionRefresher): be sure to run on-refresh with an angular digest
Closes #1465
2014-05-22 10:18:52 -06:00
Max Lynch
4c700e9c0f fix(backdrop): Changed z-index for loading backdrop only. Fixes #1428 2014-05-22 10:43:52 -05:00
Andrew Joslin
633821d9f7 chore(tapScrollToTop): make noTapScroll have to be 'true' 2014-05-22 08:28:45 -06:00
Andrew Joslin
2937040dc5 feat(ionHeaderBar, ionNavBar): no-tap-scroll attr disabling scroll to top
Closes #1454
2014-05-22 08:07:15 -06:00
Andrew Joslin
93e01915c2 chore(travis): make tests work with phantomjs 2014-05-21 09:31:57 -06:00
Andrew Joslin
94f0b5b705 fix(collectionRepeat): fix rare NPE error on android 4.1
Closes #1292
2014-05-21 07:44:21 -06:00
Tim Lancina
3192c77821 keyboard-attach test for Android not fullscreen 2014-05-20 14:08:54 -05:00
Andrew Joslin
cc46735c82 fix(ionReorderButton): fix onReorder not triggering angular digest 2014-05-20 08:59:34 -06:00
Adam Bradley
7059b818ce fix(tap): select tag not working in IE
Cannot prevent default on mousedown in IE when the target is an option
or select element. Closes #1435
2014-05-20 09:13:17 -05:00
Andrew Joslin
8caa043a2d test(tabs): remove unnecessary comment 2014-05-19 06:54:50 -06:00
Andrew Joslin
488bd5c08c fix(ionContent): make scrollable content work as child of non-scrollable
Closes #1421
2014-05-19 06:51:07 -06:00
Adam Bradley
da0c798ce5 test(tap): updates for release tolerance changes 2014-05-16 14:40:40 -05:00
Adam Bradley
29ee640701 fix(click): fix mouseup click for ion-option-button
To allow select elements to change options in Firefox, the simulated
tap click should not go through when the target is an `option` element.
However, the regex was too general and also prevented
`ion-option-button` on mouseup.
2014-05-15 09:43:20 -05:00
Tim Lancina
09d1197acd feat(footer): keyboard-attach attribute directive to position footer above keyboard 2014-05-14 19:26:31 -05:00
Andrew Joslin
efa6184486 fix(ion-header-bar): when hidden, correctly offset the ion-content
Fixes #1351
2014-05-14 10:16:15 -06:00
Andrew Joslin
0ed975124d test(tap): expect falsy instead of false 2014-05-14 08:41:24 -06:00
Andrew Joslin
3c15b118ca fix(activator): properly activate elements nested inside an item.
Addresses #1373.

Before: if an `<a>`, `ng-click`, or `<button>` inside of a .item,
was clicked, the activator would walk up .item and activate it.

Now:  If an `<a>`, `ng-click`, or `<button>` inside of a
.item is clicked, the activator will activate that element.

Additionally, CSS was added so `a.item-content.activated` would look
activated.
2014-05-13 08:56:37 -06:00
Andrew Joslin
569d7165aa test(ionCheckbox): add ngChange test 2014-05-13 07:24:32 -06:00
Andrew Joslin
a006d89612 fix(ionCheckbox): make ng-checked and ng-change work
Closes #1349. Closes #1361

BREAKING CHANGE: ion-checkbox no longer has an isolate scope.

This will break your checkbox only if you were relying upon the
checkbox having an isolate scope: if you were referencing
`$parent.value` as the ng-disabled attribute, for example.

Change your code from this:

```html
<ion-checkbox ng-disabled="{{$parent.isDisabled}}"></ion-checkbox>
```

To this:

```html
<ion-checkbox ng-disabled="{{isDisabled}}"></ion-checkbox>
```
2014-05-13 07:19:02 -06:00
Tim Lancina
057e02e420 scrollview test hax 2014-05-12 14:55:10 -05:00
Andrew Joslin
c6c1300b46 fix(ionItem): transform to <a> tag for ui-sref 2014-05-12 09:59:40 -06:00
Andrew Joslin
291d723ab1 feat($ionicModal): allow configuration of backdropClickToClose
Addresses #1087
2014-05-12 08:24:19 -06:00
Tim Lancina
b0cfe233a8 don't clear focusIn timer on focusOut 2014-05-09 11:39:34 -05:00
Andrew Joslin
919d4f8dca fix(ionView): make it set navbar if title changes back to old value
Fixes #1121
2014-05-09 08:44:08 -06:00
Adam Bradley
4928b996d6 set WP8 as a grade-b device 2014-05-09 09:33:35 -05:00
Andrew Joslin
2ec01733a5 fix(refresher): make arrow spin correctly
Closes #1319
2014-05-09 08:25:43 -06:00
Tim Lancina
5be42bc3c7 add height=device-height on Cordova iOS 7.0 2014-05-09 09:17:04 -05:00
Adam Bradley
8730e62e62 fix(tap): Prevent different input focus after 300ms delay
If a text input is located in the same area as a button which was just
tapped, which was probably because of a view transition, the text input
gets focus 300ms later. This is an issue on Android because it also
fires off a mousedown event. Resolved by remembering the touchend
target then checking if it’s different from the mousedown target.
Closes #1370
2014-05-08 10:40:15 -05:00
Andrew Joslin
95d1aea4f1 chore(travis): re-enable jshint 2014-05-08 09:11:16 -06:00
Andrew Joslin
6facb8cb86 test(ionNavButtons): remove ddescribe 2014-05-08 08:22:30 -06:00
Andrew Joslin
24a488bbb3 fix(ionNavButtons): do not append if page is removed very quickly 2014-05-08 08:16:31 -06:00
Adam Bradley
6e32c2f880 Merge initial wp8 fixes 2014-05-07 15:47:35 -05:00
Adam Bradley
08e4b3d95b feat(platform): added isWindowsPhone() method 2014-05-07 14:48:36 -05:00
Andy Joslin
9de67e0ab7 test(gesture): make it use ionic.CustomEvent 2014-05-07 12:21:11 -06:00
Andy Joslin
053bc04fd4 refactor(sideMenuController): deregister backbutton on $destroy 2014-05-06 10:46:58 -06:00