Commit Graph

1478 Commits

Author SHA1 Message Date
Andrew Joslin
df9c0747c9 fix(listView): reordering up is more responsive, fix scrolling error
Closes #1202
2014-05-14 08:39:13 -06:00
Max Lynch
d4f9ad0796 Removed glMatrix file 2014-05-14 08:57:07 -05:00
Adam Bradley
76d4c083cb fix(sideMenu): Disable content interaction when menu open
Closes #1339
2014-05-13 21:00:31 -05:00
Adam Bradley
65749a40bb fix(select): select option in desktop Firefox
Closes #1251
2014-05-13 13:30:32 -05:00
Tim Lancina
6e725b190f formatting tweak 2014-05-13 13:28:17 -05:00
Tim Lancina
373c0cd44f fix(scroll): scroll inputs correctly with footer 2014-05-13 13:10:26 -05:00
Pavel Strashkin
e0c7979aa5 feat ($ionicActionSheet): pass button object to buttonClicked
Closes #1369.

Right now `buttonClicked` accepts only the index of the pressed button that means you have to work with indices to decide which one it is. In case you move buttons around to get better UX, you'd have to be very careful with those indices. It's easier to add `id` property to buttons and simply check for it. Index-agnostic solution is more maintainable and leads to less changes to the code when the buttons order is being changed.
2014-05-13 10:57:13 -06:00
Adam Bradley
2736993083 feat(tap): Make TAP_RELEASE_TOLERANCE configurable
Setter for TAP_RELEASE_TOLERANCE so the default can be changed. Closes
#1362
2014-05-13 11:13:04 -05:00
Tim Lancina
fe01444f95 update keyboard docs with windowSoftInputMode info 2014-05-13 10:03:20 -05: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
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
Andrew Joslin
07da4ced2e chore(main): add isDefined alias for angular.isDefined 2014-05-13 07:07:58 -06:00
Andrew Joslin
636ca94325 fix(e2e-tests): disable ionic-tap during e2e tests
Closes #1310
2014-05-13 07:04:09 -06:00
Tim Lancina
5ad395d599 only wait longer for keyboard resize on android 2014-05-12 15:15:51 -05:00
Adam Bradley
1a2e501f25 fix(tap): Normalize taps w/ pointer events also
Some browsers already remove the delay with certain settings, such as
the CSS property `touch-events: none` or with specific meta tag
viewport values. However, each of these browsers still handle clicks
differently, such as when to fire off or cancel the event (like
scrolling when the target is a button, or holding a button down). For
browsers that already remove the 300ms delay, consider Ionic's tap
system as a way to normalize how clicks are handled across the various
devices so there's an expected response no matter what the device,
platform or version. Additionally, Ionic will prevent ghostclicks which
even browsers that remove the delay still experience.
2014-05-12 15:13:44 -05:00
Adam Bradley
ed3ee1d02b fix(scroll): Scrolling using pointer events
Scroller only worked with touch or mouse events, but not with MSPointer
or standard pointer events.
2014-05-12 15:13:44 -05:00
Tim Lancina
61c9c4571b account for elements under scroll view when resizing 2014-05-12 14:31:53 -05:00
Max Lynch
73d2eabc69 feat(animation): Javascript Animation Service 2014-05-12 13:07:58 -05:00
Max Lynch
da00f72ca3 Shouldn't have been in there 2014-05-12 13:06:42 -05:00
Tim Lancina
c944fe5944 add keyboard docs 2014-05-12 11:26:01 -05:00
Andrew Joslin
c6c1300b46 fix(ionItem): transform to <a> tag for ui-sref 2014-05-12 09:59:40 -06:00
Andrew Joslin
58c97e0d2e fix(headerBar): tap to scroll to top only on the nearest scrollview
Closes #1329
2014-05-12 09:49:43 -06:00
Maks Rafalko
3fede13c94 docs($ionicSlideBox): fix typo 2014-05-12 08:40:31 -06:00
Andrew Joslin
291d723ab1 feat($ionicModal): allow configuration of backdropClickToClose
Addresses #1087
2014-05-12 08:24:19 -06:00
Adam Bradley
5f2fdfdd07 fix(textarea): Allow scroll in textarea when focused
Closes #1280
2014-05-09 12:05:45 -05:00
Tim Lancina
b0cfe233a8 don't clear focusIn timer on focusOut 2014-05-09 11:39:34 -05:00
sanderheling
7494b0525e docs($ionicModal): add docs for modal.removed and modal.hide
Closes #1320
2014-05-09 08:49:30 -06: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
Andrew Joslin
4814a63bda fix(ionView): make sure title is set correctly in edge cases 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
Andrew Joslin
d108a29e58 fix(ionToggle): stop error in edge case of drag ending before raf 2014-05-09 08:08:28 -06:00
Adam Bradley
659b57e78e docs(ionNavView): Update codepen reference
Closes #1291
2014-05-09 09:04:27 -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
24a488bbb3 fix(ionNavButtons): do not append if page is removed very quickly 2014-05-08 08:16:31 -06:00
Adam Bradley
d839f4da64 fix(select): Open select options on Android 2.3
Closes #1298
2014-05-08 09:04:06 -05:00
Andrew Joslin
8759f64f61 docs(collectionRepeat): add note about ng-show/ng-hide 2014-05-08 07:40:13 -06:00
Adam Bradley
57d66b2a2d style(jshint): jshint 2014-05-08 08:19:14 -05:00
Andrew Joslin
b785955348 chore(): factor out some angular functions to variables 2014-05-07 14:54:51 -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
Adam Bradley
25c02a3f2c add msTransform and msTransition to CSS polyfill 2014-05-07 14:10:00 -05:00
Adam Bradley
98ee7ee293 chore(log): use console.log instead of .debug
Console statements get removed during builds, but when testing IE 10
does not support console.debug.
2014-05-07 13:42:48 -05:00
Adam Bradley
191464c98c fix(CustomEvent): fix IE CustomEvent polyfill
#1131 #1231 #861
2014-05-07 13:40:28 -05:00
Tim Lancina
5973ded3e1 add clearTimeout(keyboardFocusOutTimer) to plugin hidekeyboard handler 2014-05-07 11:53:17 -05:00
Andy Joslin
053bc04fd4 refactor(sideMenuController): deregister backbutton on $destroy 2014-05-06 10:46:58 -06:00
Andy Joslin
101035593f feat(sideMenu): make android back button close side menu
Closes #1264
2014-05-06 10:44:26 -06:00
Andy Joslin
425ba247e5 docs(tap): fix typos 2014-05-06 09:26:21 -06:00