Commit Graph

2620 Commits

Author SHA1 Message Date
Adam Bradley
e5af75fa48 fix(input): vertically align date input text
Closes #1147
2014-05-13 22:21:08 -05:00
Adam Bradley
eaee564de1 fix(footer): Fix placement of .bar-footer.item-input-inset
Closes #1325
2014-05-13 21:10:23 -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
cb597d76be fix(select): hide .item-select arrow in WP8 2014-05-13 13:30:32 -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
0c960b5450 fix(header): Set a height for .bar .title
WP8 does not obey the ellipsis or nowrap and allows text to go below
the header. Setting a height forces the title from getting too tall.
2014-05-13 11:52:38 -05:00
Adam Bradley
aa15f8ed99 test(remove): Remove unused contentClick.html 2014-05-13 11:30:37 -05: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
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