Adam Bradley
e9f0fcf556
refactor(clickBlock): add click-block div to body
...
Instead of using pointer-events: none to disable unwanted clicks which
can cause flickering, we’re now using a click-block div that covers the
view during transitions. Similar concept to pointer-events: none
applied to the body tag, but in tests its showing to be more effective
to not cause any flickers.
2014-08-27 12:56:12 -05:00
Adam Bradley
2c3f1c9f02
feat($ionicBody): service to simplify body ele interaction
...
Many services/directives have to interact with the body element, and
each one has to write the same long code. The $ionicBody service
provides some useful methods to clean up and reduce redundant code.
2014-08-26 22:23:07 -05:00
Adam Bradley
b69aa5485f
feat(splitView): expose side menu on large viewport
...
Ability to keep a left menu exposed on larger viewports, such as a
landscape tablet. Added the `expose-aside-menu` attribute directive.
2014-08-26 15:00:42 -05:00
Andrew
e00e938040
test(popover): fix tests for container addition
2014-08-20 14:29:11 -06:00
Andrew
6d859f4876
fix(popup): fix alignment, backdrop not fading out
2014-08-20 14:17:19 -06:00
Perry Govier
25ee658e8b
amend(loading): simpler/more clean fix for #1914
2014-08-20 13:04:48 -05:00
Adam Bradley
04812a2da9
style(): move listController.unit.js to correct dir
2014-08-20 11:28:15 -05:00
Adam Bradley
b31f4e8e3f
refactor(sideMenu): move controller logic to $ionicSideMenus
2014-08-20 11:09:48 -05:00
Andrew
4595fd3cc4
refactor($ionicTabsDelegate): for .select() take away second argument
...
Closes #1682
2014-08-20 10:03:45 -06:00
Perry Govier
65aece2aad
fix(loading): potential race condition with showing and hiding loading in same watch cycle
2014-08-19 15:07:10 -05:00
Perry Govier
840c014b27
fix(item): clicks climb 5 levels looking for an item to activate, but not 6. Fixes #1921
2014-08-19 14:20:35 -05:00
Perry Govier
cc18a64bf4
fix(reorder): item click handlers dont fire when tapping on reorder icon
2014-08-19 11:32:35 -05:00
Perry Govier
944a92b08d
feat(templateCache): automatically cache template files to prevent flicker on page navigation and improve performance
...
State templates are cached automatically, but you can optionally cache other templates.
```js
$ionicTemplateCahce('myNgIncludeTemplate.html');
```
Optionally disable all preemptive caching with the `$ionicConfigProvider` or individual states by setting `prefetchTemplate`
in the $state definition
```js
$ionicTemplateCahce('myNgIncludeTemplate.html');
```js
angular.module('myApp', ['ionic'])
.config(function($stateProvider, $ionicConfigProvider) {
// disable preemptive template caching globally
$ionicConfigProvider.prefetchTemplates(false);
// disable individual states
$stateProvider
.state('tabs', {
url: "/tab",
abstract: true,
prefetchTemplate: false,
templateUrl: "tabs-templates/tabs.html"
})
.state('tabs.home', {
url: "/home",
views: {
'home-tab': {
prefetchTemplate: false,
templateUrl: "tabs-templates/home.html",
controller: 'HomeTabCtrl'
}
}
});
});
```
2014-08-15 15:10:19 -05:00
Andrew
834e2bb173
amend($ionicConfigProvider): fix typo, add unit tests
2014-08-15 13:11:44 -06:00
Andrew
8c6d5f2c96
fix(collectionRepeat): simplify item reusing process to fix rare reuse error
...
Closes #1777 .
2014-08-13 10:30:44 -06:00
Andrew
5e025fbb01
fix(collectionRepeat): rerender when $ionicScrollDelegate resizes
...
Fixes #1777
2014-08-11 10:23:49 -04:00
Perry Govier
044fac4d77
fix(popup): only override prompt input if template includes HTML
2014-08-08 15:00:19 -05:00
Perry Govier
c336e8ede8
fix(refresher): finish animating before changing icon, hide when not in use
2014-08-07 17:54:30 -05:00
Adam Bradley
944d2595af
fix(sideMenu): fix stopping content scrolling
...
When a list was within a side menu it could scroll up and down, but if
the user happened to drag a little bit on the X axis, then it would try
to open the side menu and the Y scroll of the content stopped. Closes
#1541
2014-08-07 12:22:28 -05:00
Andrew
41a2124d45
test(): fix phantomjs test problems for CircleCI
2014-08-06 12:10:34 -06:00
Andrew
7ddb57e60b
feat(collectionRepeat): other children of ion-content element fit in
...
Closes #1920 . Closes #1866 . Closes #1380 .
2014-08-06 10:32:40 -06:00
Adam Bradley
6fbd1a4306
fix(toggle): fix toggle-class attribute
...
Closes #1851
2014-08-06 08:40:57 -05:00
Perry Govier
ae87c66b12
fix(popup): backdrop release fires with every close
2014-08-05 11:16:46 -05:00
Max Lynch
64641b1be0
fix(viewService): No error on clearHistory for empty history
2014-08-04 14:17:54 -05:00
Adam Bradley
c1215aa300
feat(popover): created popovers
2014-07-31 14:43:29 -05:00
Perry Govier
ddda809b57
feat(tabs): Expand striped android style tab functionality. Closes 1694
2014-07-30 15:52:53 -05:00
Perry Govier
4f6d02cfcb
refactor(modal): trigger resize event on the window when modal opens
...
A better approach to resolving an issue with collection-repeat sizing itself properly. This keeps directives independent of eachother.
2014-07-24 14:45:40 -05:00
Perry Govier
1fbd3c5632
fix(collectionRepeat): properly display collection repeat inside a modal
2014-07-24 12:44:29 -05:00
Perry Govier
4e6ba5b818
refactor(scroll): minor tweak to make unit tests happy
2014-07-24 12:27:42 -05:00
Andrew
74711cbc36
test(): remove iit
2014-07-24 11:15:50 -06:00
Andrew
79bcfb149f
test(gesture): fix gesture directive tests
2014-07-24 11:15:26 -06:00
Perry Govier
3d0a46efe8
fix(scroll): anchor scroll should scroll to IDs that are multiple levels beneath the scroll view. Closes #1804
2014-07-21 14:58:29 -05:00
Andrew
26ca840dfc
feat($ionicLoading): add $ionicLoadingConfig constant for default options
...
Closes #1800
2014-07-21 08:22:43 -06:00
Andrew
7e20424a87
test(platform): fix unit tests for setting platform to null
2014-07-21 08:22:07 -06:00
Andrew
537b29d0bb
fix(toggle): fix ngChange being reported before model changes
...
Closes #1349 , #1741
BREAKING CHANGE:
ion-toggle no longer has an isolate scope.
This will break your toggle only if you were relying upon the toggle
having an isolate scope: if you were referencing `$parent.value` as
the ng-disabled attribute, for example.
Change your code from this:
<ion-toggle ng-disabled="{{$parent.isDisabled}}"></ion-toggle>
To this:
<ion-toggle ng-disabled="{{isDisabled}}"></ion-toggle>
2014-07-10 23:51:55 -06:00
Perry Govier
bb6976ad54
feat(tab): options 'hidden' attribute for tabs. Closes #1666 , #1673
2014-07-09 17:10:43 -05:00
Andrew
4f10a72306
fix(list): make reorder/delete button animation work well on all devices
2014-07-08 11:32:43 -06:00
Andrew
b7f45e7ca5
fix(view): don't affect history when inside a modal
...
Closes #1667
2014-07-07 13:38:28 -06:00
Andrew
da8a24d174
test(ionList): remove tap-disabled from tests
2014-07-07 13:17:19 -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
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
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
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