Adam Bradley
591dbc3fec
changed gestures to add .disable-user-behavior instead of multiple styles
2014-02-20 21:26:10 -06:00
Adam Bradley
b69b40c826
feat(grade): Set grade in body class depending on platform performance
...
First draft of how devices play out:
.grade-a:
- iOS
- >= Android 4.4
.grade-b:
- Android >= 4 && < 4.4
.grade-c:
- Android < 4
2014-02-20 20:41:48 -06:00
Adam Bradley
575cb1cbb9
avoid document.createElement('div') in css polyfill
2014-02-20 15:49:30 -06:00
Adam Bradley
52671c18f9
fix(transform): Polyfill style.transform to work w/ non-webkit
2014-02-20 15:40:12 -06:00
Adam Bradley
2a68d0b5b6
increase REMOVE_PREVENT_DELAY by 50ms
2014-02-20 10:35:15 -06:00
Adam Bradley
08dcca9ffb
fix jshint
2014-02-18 21:57:04 -06:00
Adam Bradley
0421b7b450
Minimal classList polyfill added
2014-02-18 21:54:15 -06:00
Adam Bradley
ec8862a7cc
tap polyfill removeClickPrevent and label fixes
2014-02-18 13:27:14 -06:00
Adam Bradley
62fefc3c2d
click/tap refactor
2014-02-18 09:03:10 -06:00
Andy Joslin
d056ad1fef
perf(animations): throttle calls to requestAnimationFrame
...
Closes #582
2014-02-17 17:26:34 -05:00
Adam Bradley
71ea118e4d
range.getBoundingClientRect check for null, fixes #580
2014-02-17 10:44:05 -06:00
Andy Joslin
17cc040896
fix(anchorScroll): find offset of nested elements correctly
...
Closes #618
2014-02-17 10:20:39 -05:00
Adam Bradley
f736ae510e
blur active input w/ setTimeout
2014-02-16 22:07:19 -06:00
Andy Joslin
0c52fd2673
chore(travis): remove console.log from *all* ionic js files
...
Closes #586
2014-02-13 12:28:44 -05:00
Adam Bradley
91fbcdc130
fix to prevent ghostclick of an input under a modal
2014-02-13 10:00:41 -06:00
Adam Bradley
fc8ab4b8ea
fix(click): event.preventDefault() when setting focus() on an input, closes 583
2014-02-13 01:46:51 -06:00
Andy Joslin
9327ac71c7
fix(android): when keyboard comes up, ensure input is in view
...
This requires us to set fullscreen="false" in our cordova apps.
Uses the resize event to determine when the keyboard has been shown,
then broadcasts an event from the activeElement: 'scrollChildIntoView',
which is caught by the nearest parent scrollView. The scrollView will
then see if that element is within the new device's height (since the
keyboard resizes the screen), and if not scroll it into view.
Additionally, when the keyboard resizes the screen we add a
`.hide-footer` class to the body, which will hide tabbars and footer
bars while the keyboard is opened.
For now, this is android only.
Closes #314 .
2014-02-12 09:45:35 -05:00
Adam Bradley
2132d292e7
fix(click): Clicks firing twice, closes #573
2014-02-10 13:36:39 -06:00
Andy Joslin
a970f0bdc3
feat(domUtil): add getPositionInParent function
...
Find an element's offset, then add it to the offset of the parent
until we are at the direct child of parentEl.
Use-case: find scroll offset of any element within a scroll container
2014-02-09 11:36:15 -05:00
Adam Bradley
5ebbbab5e7
run tapPolyfill for mouse pointerType too
2014-02-06 13:58:53 -06:00
Adam Bradley
e96a77e5ac
wrap exitApp in cordova ready
2014-02-05 20:49:36 -06:00
Andy Joslin
479175bf5d
refactor(view): use nextUid from angular to generate unique ids
...
Math.random() is unreliable, produces duplicates, and numbers can
overflow if you use them for long enough.
2014-02-04 08:46:02 -05:00
Adam Bradley
00f6b17b7f
toggle/checkbox tap improvements
2014-02-01 00:15:10 -06:00
Adam Bradley
7352be9010
set major and minor platform versions in body css
2014-01-31 20:57:26 -06:00
Adam Bradley
f37b196ff8
refactor ionic.Platform methods
2014-01-31 20:36:39 -06:00
Adam Bradley
25a9e527af
ionic.Platform.exitApp(), always run onPlatformReady()
2014-01-31 11:55:31 -06:00
Adam Bradley
2add26afbb
readyCallbacks array and platform() method to get name
2014-01-31 10:45:31 -06:00
Adam Bradley
b20ce800ab
fallback for browsers that don't support createEvent('CustomEvent')
2014-01-30 20:38:57 -06:00
Adam Bradley
a78a56898c
Merge pull request #471 from RangerRick/470-customevent-polyfill
...
#470 change the CustomEvent polyfill to work with older browsers
2014-01-30 18:28:42 -08:00
Adam Bradley
e231ba0ed5
correct reference to hammer.js
2014-01-30 12:28:11 -06:00
Adam Bradley
aac82a1ebb
initMouseEvent instead of MouseEvent, label ghost click fixes
2014-01-29 19:59:44 -06:00
Adam Bradley
4354828ce1
ng-click fixes
2014-01-29 11:20:38 -06:00
Adam Bradley
64b3181732
simplify click simulation
2014-01-28 11:25:22 -06:00
Adam Bradley
ac7a061ca3
tap detection updates
2014-01-28 11:10:05 -06:00
Benjamin Reed
13ec3bce5a
#470 change the CustomEvent polyfill to work with older browsers
2014-01-24 20:43:21 -05:00
Max Lynch
050870e5f4
Fixed #458
2014-01-22 23:12:50 -06:00
Adam Bradley
833fee6b18
android click firing twice fix
2014-01-22 10:17:05 -06:00
Adam Bradley
76fbd2dd5d
do not uncheck a checked radio
2014-01-22 10:15:14 -06:00
Adam Bradley
73cad15ed2
checkbox/radio/toggle updates
2014-01-21 16:51:25 -06:00
Adam Bradley
7f7ae95498
tapPolyfill alreadyHandled fixes
2014-01-20 15:30:48 -06:00
Adam Bradley
19ac6188aa
created Platform.fullScreen and Platform.showStatusBar
2014-01-16 13:52:12 -06:00
Adam Bradley
5c80fc1cd9
update platform ready listeners
2014-01-16 00:25:04 -06:00
Adam Bradley
64d8fd207a
platform detect updates
2014-01-14 00:59:25 -06:00
Max Lynch
7e2b909346
Fixed #409 - null device platform (cordova)
2014-01-13 15:49:08 -06:00
Max Lynch
ddadc461c0
Possible solution for #327 - platform detect
2014-01-12 20:46:53 -06:00
Max Lynch
cb75c9de96
Fixed #366 - no Android scroll bouncing by default
2014-01-10 09:52:32 -06:00
Max Lynch
5d5b5b95a5
Fixed #126 - tap header scroll to top
2013-12-18 19:26:22 -06:00
Max Lynch
e1ae338b51
Fixed #288 , added carousel support to slide box
...
Also fixed evevt bubbling and incorrect iOS 7 detection in mobile safari
2013-12-18 12:21:52 -06:00
Max Lynch
3ca427501e
iOS 7 detection and removed console log
2013-12-17 11:53:51 -06:00
Max Lynch
e41d39c0f6
Merge branch '272-checkboxes'
2013-12-07 18:01:37 -06:00