Commit Graph

3156 Commits

Author SHA1 Message Date
Adam Bradley
a1af665feb Merge pull request #2230 from chaffeqa/patch-2
fix(load): correctly handle window loaded states
2014-09-16 19:59:21 -05:00
Adam Bradley
9a57845fdf Merge pull request #2229 from chaffeqa/patch-1
fix(ready): correctly handle DOM Ready states
2014-09-16 19:57:48 -05:00
chaffeqa
6b29d44ce3 Correctly handle window loaded states
Previously if this script was executed after the window was loaded, none of the callbacks would fire.

See https://developer.mozilla.org/en-US/docs/Web/API/document.readyState for definition of detecting the `load` event.

TODO: Potentially this is redundent, since maybe using `ionic.DomUtil.ready` would mean one less listener.  However I don't know if the listeners attached to `ionic.Platform.ready` require the `document.readyState` to be `complete` rather than only `interactive`.

Linked to #2229
2014-09-16 19:11:19 -04:00
chaffeqa
1f96d971f1 Correctly handle DOM Ready states
Previously, if the script was loaded while in `document.readyState` of `interactive`, the `domReady` function is never called.

See https://developer.mozilla.org/en-US/docs/Web/API/document.readyState for explanation of the proper detection of `DOMContentLoaded`
2014-09-16 19:03:35 -04:00
Perry Govier
db27fb116c feat(refresher): Improve refresher animation. Allow pulling icon rotation to be disabled. 2014-09-16 16:22:02 -05:00
Adam Bradley
487e7a9796 feat(angular): upgrade to AngularJS v1.2.24 2014-09-16 12:46:07 -05:00
Adam Bradley
ea51612e60 test(titles): fix broken test 2014-09-16 10:35:15 -05:00
Adam Bradley
fe9f43d17f fix(titles): error during quick transition changes 2014-09-16 10:23:50 -05:00
Mike Hartington
60b3f861f1 docs(ion-list): include list types 2014-09-16 10:15:39 -04:00
Adam Bradley
046ad53b20 feat(cordovaEvents): $ionicPlatform.on method
Create $ionicPlatform.on(type, callback) to make it easier to add
Cordova event listeners. Closes #2219
2014-09-16 08:55:00 -05:00
Adam Bradley
37d75f7f5d style(tabs): fix typo 2014-09-16 07:48:42 -05:00
Adam Bradley
68de8ed910 fix(history): tabs lose history after switching tabs
It was possible that when switching between tabs, and creating a
navigation history in one of the tabs, then switching tabs again, it
could clear out the individual tab stacks under certain scenarios.
Closes #1978
2014-09-16 00:13:29 -05:00
Adam Bradley
1c62ed7fca chore(): remove console.log 2014-09-16 00:00:08 -05:00
Adam Bradley
73a30e0659 test(): fix $timeout.flush 2014-09-15 00:07:12 -05:00
Adam Bradley
20d567f81c fix(click): remove native click prevent 400ms later
When an actionsheet/popup is open, everything under it has
`pointer-events:none`. However, once they are removed then the click
prevent was removed immediately too, but the click that comes in 300ms
later was still firing whatever would have been underneath the
actionsheet/popup. Instead, wait 400ms before removing the click
prevent, which would block the native click. Closes #2204
2014-09-15 00:00:59 -05:00
Adam Bradley
6f79a5e5c8 fix(exposeAsideWhen): disable with isEnabled=false
Closes #2210
2014-09-14 23:38:35 -05:00
Adam Bradley
74de015c22 fix(keyboard): android scroll stuck
When a state change happens, ensure the keyboard is hidden. When a
keyboard is hidden, ensure all pending timers our cleared. When
resetting scrollView, ensure it’s only doing it when it has to.
For testing: #1670 #2192
2014-09-14 23:18:57 -05:00
Drew Rygh
b873190bc6 fix(popup): set popup head padding equal to popup body padding 2014-09-14 21:57:18 -05:00
Adam Bradley
581656fda4 fix(popup): fill popup width of Android 4.1-4.3 buttons
Closes #2209
2014-09-14 21:30:56 -05:00
Adam Bradley
0420e6eb2d refactor(popover): popover-top as the default 2014-09-14 21:08:21 -05:00
Max Lynch
95d3f2e3c9 fix(card): less intense box shadow 2014-09-14 19:11:14 -05:00
Adam Bradley
db83d6638e refactor(tabs): prevent unnecessary updates during destroy
If the containing ionTabs directive is being destroyed, then child
ionTab directives should not don't bother going through its
controller’s `remove` method, which selects a new active tab as each
ionTab is being destroyed. By selecting a new active tab as each tab is
removed, it causes unnecessary view loads, transitions and multiple
`viewState.changeHistory` events.
2014-09-12 23:05:28 -05:00
Adam Bradley
8883c6ccc5 fix(scroll): ensure scrollView objects exist
Check if scrollView is null when switching off of tabs view. #2181
2014-09-12 23:05:28 -05:00
Perry Govier
18775ae169 chore(collection repeat): commenting out noisy console log 2014-09-12 11:19:47 -05:00
Perry Govier
5e8250b119 fix(scrollView): check that element has not yet been GC'd before removing event listeners in $destroy 2014-09-12 11:14:39 -05:00
Adam Bradley
ed3e9e30ce fix(splitView): disable menu toggles on exposed aside
Closes #2182
2014-09-11 22:05:47 -05:00
Adam Bradley
8b1245feb7 Merge pull request #2055 from bianchimro/issue-2053
fix(reorder): remove correct class w/in setButtonShown
2014-09-11 21:08:22 -05:00
Adam Bradley
b239eb9ed3 fix(menuClose): do not close if aside exposed 2014-09-11 15:56:02 -05:00
Adam Bradley
c40db31625 Merge pull request #2186 from IonDriveSoftware/master
fix(sideMenu): set default width
2014-09-11 15:40:59 -05:00
Perry Govier
cb9b81d57e fix(templateCache): make sure $state is passed config options before checking what they are 2014-09-11 15:25:49 -05:00
sharky101
7751b16ea6 fix(sideMenu, exposeAsideWhen): set default width
ion-side-menu with explicit width and expose-aside-when="large”
previously loaded the sidebar with a fixed width of 275px.
2014-09-11 14:15:46 +01:00
Ionitron
f5e986c922 release: v1.0.0-beta.12 "krypton-koala" v1.0.0-beta.12 2014-09-10 20:36:00 +00:00
Perry Govier
6f5440530d amend(pre-release): v1.0 beta 12 2014-09-10 15:34:49 -05:00
Perry Govier
756f196eb5 chore(pre-release): v1.0 beta 12 2014-09-10 15:28:58 -05:00
Adam Bradley
02a29f872e style(): else on same line 2014-09-10 14:12:54 -05:00
Perry Govier
d5109ebb21 amden(bower): undoing transition to devDependencies 2014-09-10 13:49:01 -05:00
Adam Bradley
74bc1ce17b Merge pull request #2154 from karbon001/master
refactor(keyboard): add WP8 support for keyboard show
2014-09-10 13:27:51 -05:00
Adam Bradley
77847f4963 fix(keyboard): screen.height fallback for window.innerHeight
Closes #2168
2014-09-10 12:50:51 -05:00
Adam Bradley
ba3600dfb4 fix(scroll): calculate padding-bottom
Closes #2174
2014-09-10 12:24:10 -05:00
Adam Bradley
fbcd00ace0 Merge pull request #2175 from SidFerreira/patch-2
use no-wrap flexbox mixin
2014-09-10 08:41:30 -05:00
Sid Ferreira
0b5bce2eee Improvement in no-wrap to use existing mixin 2014-09-10 10:10:36 -03:00
Perry Govier
b1f94da27e fix(platform): fullscreen method will not offset footer by 20px 2014-09-09 17:05:03 -05:00
Adam Bradley
36eef9e686 Merge pull request #2169 from SidFerreira/patch-1
feat(grid): include wrap option to the grid
2014-09-09 09:04:26 -05:00
Sid Ferreira
1644f89fd5 Include wrap option to the grid
This option will help a lot to create an image grid like http://codepen.io/sidfz/pen/Exuds
2014-09-09 10:34:43 -03:00
Adam Bradley
59c8d5e1be Merge pull request #2160 from cfjedimaster/patch-1
docs(platform): reminder cordova features dont work within browser
2014-09-08 12:27:50 -05:00
Justin Basinger
f89f010cce fix(scrollview, content): Fixed multiple memory leaks in scrollview and content 2014-09-08 12:21:49 -05:00
Raymond Camden
9c370fdd3a Update platform.js
I added a bit of detail to ready function to remind folks that - in the context of a web browser - even though ready has fired it is *NOT* going to allow for device specific features. It may be too obvious, but I really think a reminder here will help.
2014-09-08 11:19:04 -05:00
Krzysztof Kawalec
2cd4156a6c Adding support for the state show in hardware keyboard for WP8. 2014-09-06 20:08:37 +02:00
Perry Govier
d3c8a1b2a4 fix(back button): do not animate back button transition if the title doesn't change. Fixes #1858 2014-09-05 16:01:59 -05:00
Perry Govier
69442d5a8e fix(buttons): centering icons on <a> tag buttons. Closes #2074 2014-09-05 12:33:05 -05:00