Commit Graph

2610 Commits

Author SHA1 Message Date
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
Andrew Joslin
1b1c234fff fix(.tab-item): make it work with activator
Closes #1317
2014-05-13 09:11:10 -06: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
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
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
Adam Bradley
addf75a011 test(input): Update input test for pointer events 2014-05-12 15:13:44 -05:00
Tim Lancina
057e02e420 scrollview test hax 2014-05-12 14:55:10 -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
38064825ad Merge pull request #1341 from mhartington/Buttons-fix
fix(header): align multiple header buttons correctly in Android 4.4
2014-05-12 06:16:26 -07:00
Mike Hartington
95de4d332a Update _bar.scss 2014-05-10 17:38:25 -04:00
Mike Hartington
54f2b662ef Aligns multiple header buttons correctly (4.4) 2014-05-10 17:32:28 -04: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
Andrew Joslin
b9353e71f6 feat(ui-router): upgrade to angular-ui-router v0.2.10
Closes #941
2014-05-09 08:56:00 -06: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
Andrew Joslin
a62c54adcd chore(pre-push-validate): use /bin/bash instead of /bin/sh 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
d74e5dbed5 use touch-action: none instead of manipulation 2014-05-09 08:41:27 -05:00
Andrew Joslin
8d34ab286e feat(ionNavBackButton): make pressed state work
Resolved #1294
2014-05-09 07:07:15 -06: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
0325b87d49 chore(build): add jshint to travis, add pre-push validate script 2014-05-08 09:12:52 -06: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
d839f4da64 fix(select): Open select options on Android 2.3
Closes #1298
2014-05-08 09:04:06 -05:00
Andrew Joslin
9e06a663f2 chore(travis): don't close discourse release topic by default 2014-05-08 07:45:37 -06:00
Andrew Joslin
009fe5b2c0 chore(build): re-add css minification 2014-05-08 07:40:13 -06: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
Adam Bradley
f2c40074ce Merge pull request #1303 from andredublin/semicolons
code gardening missing semicolons
2014-05-08 06:04:10 -07:00
Andrew Joslin
b785955348 chore(): factor out some angular functions to variables 2014-05-07 14:54:51 -06:00