Commit Graph

457 Commits

Author SHA1 Message Date
Andrew
e3db08563b fix(sideMenu): when drag-content=false, allow drag-to-close
Closes #1419
2014-07-07 12:42:51 -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
Perry Govier
7630bd419f fix(loading): Prevent clicks on modal views when loading is active. Closes #1720 2014-07-03 16:16:21 -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
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
Adam Bradley
39a2fb7892 test(viewState): move ion-nav-buttons location 2014-06-23 09:31:27 -05:00
Perry Govier
4a2296dcae fix(header): add iOS 8 support to iOS header fix. assumes all iOS will have 7 style headers. closes #1625 2014-06-18 16:16:44 -05:00
Perry Govier
c8ced5af1d test(select): removing native UI select elements from snapshot tests since they vary so much from OS to OS, browser to browser 2014-06-18 15:22:20 -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
Perry Govier
9ff1b965bf fix(listItem): apply color styles to complex list items 2014-06-18 13:38:24 -05:00
Andrew Joslin
b2585f19ca fix(collectionRepeat): fix scroll when item bigger than viewport
Closes #1621
2014-06-17 17:42:10 +00:00
Andrew Joslin
b4b94073d5 fix(gestureDirectives): fix problem with event being passed in 2014-06-17 13:16:31 +00:00
Adam Bradley
e5b81c3bee test(tap): update tests so nodeType exists 2014-06-16 15:28:42 -05:00
Andrew Joslin
22053edb46 test(navBackButton): disable android platform test 2014-06-12 15:01:05 -06:00
Max Lynch
0e647e77af Holding off on platform tweaks just yet 2014-06-12 13:29:01 -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
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
Adam Bradley
0543a9b816 test(css): snapshot updates 2014-06-06 13:47:10 -04: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
c9342c8a54 test(css): make css tests work with snapshot 2014-06-06 00:39:18 -06:00
Andrew Joslin
ce831a98b4 chore(snapshot): include css tests 2014-06-06 00:39:18 -06:00
Adam Bradley
bc48833925 test(css): reorganize css tests for snapshots 2014-06-05 15:12:45 -05: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
Allen Hernandez
1839158979 fix(test): Use HTML5 doctype on all tests. Closes #1539, #1524 2014-06-02 13:17:30 -05:00
Andrew Joslin
1254fcde01 chore(): e2e tests from demos, reorganize gulpfile
Conflicts:
	config/protractor.conf.js
	gulpfile.js
2014-05-28 11:48:40 -06:00
Max Lynch
1c3dcc1922 Much better animation for ios
Fixed duration
2014-05-26 22:19:28 -05: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
49f06f9c3d fix(scrollView): make xy scrolling work on ionScroll and ionContent
Closes #1462
2014-05-21 13:13:29 -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