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
425ba247e5
docs(tap): fix typos
2014-05-06 09:26:21 -06:00
Adam Bradley
3b5248f22b
data-tap-disabled not data-prevent-default
2014-05-06 10:21:34 -05:00
Tim Lancina
6e231dbf26
return CustomEvent in polyfill if it doesn't exist
2014-05-06 10:13:55 -05:00
Adam Bradley
8d65371996
docs(tap): Add tap docs
2014-05-06 10:09:22 -05:00
Tim Lancina
70527172af
don't scroll twice on double focus
2014-05-05 15:03:37 -05:00
Andy Joslin
ccde43b430
refactor(events): don't clobber window.CustomEvent
...
Resolves #1231
2014-05-05 12:07:42 -06:00
Andy Joslin
975b5fadc6
docs(tap): add WIP tap notes page
2014-05-05 10:50:50 -06:00
Tim Lancina
958b23cb8e
wait for device ready before doing viewport stuff
2014-05-05 09:54:10 -05:00
Adam Bradley
6b3c2b929a
merge keyboard-fixes
2014-05-03 22:30:21 -05:00
Tim Lancina
3abab65351
android fullscreen tweaks
2014-05-02 16:57:19 -05:00
Adam Bradley
7cfa3a685d
fix for viewport props w/ only key, no value
2014-05-02 10:50:02 -05:00
Adam Bradley
5f8e9040bd
fix(viewport): Auto update viewport tag
2014-05-02 10:12:48 -05:00
Adam Bradley
08bc005766
fix select element click tests
2014-05-01 12:45:12 -05:00
Adam Bradley
e3306293cc
fix(select): Select options w/ mouse events, closes #1251
2014-05-01 12:37:21 -05:00
Adam Bradley
05a6d7cca6
fix(tap): input[file] clicks within ion-content, closes #1237
2014-05-01 08:54:13 -05:00
Tim Lancina
708fc85bf5
keyboard size in Safari, remove isOverWebView()
2014-04-30 16:28:44 -05:00
Adam Bradley
0ad10edefc
fix(viewport): Remove height value on iOS browser
2014-04-30 14:04:32 -05:00
Adam Bradley
22322610c8
remove console.log
2014-04-30 13:40:53 -05:00
Tim Lancina
c9e07e810e
poll for window height change on android
2014-04-29 15:43:51 -05:00
Andy Joslin
b772a94de5
style(activator): remove console.log
2014-04-29 06:10:33 -06:00
Tim Lancina
a7f6e1c7c6
get keyboard wip stuff working decently on android
2014-04-28 16:21:01 -05:00
Max Lynch
040af8245d
fix(listView): fixed active state on scroll
2014-04-28 13:25:30 -05:00
Andy Joslin
8e3a3d0b2d
activator: do not activate if tapRequiresNativeClick
...
Addresses #1202
2014-04-25 07:05:27 -06:00
Adam Bradley
ae3318a081
refactor(keyboard): Scroll to inputs hidden by keyboard
2014-04-24 20:22:16 -05:00
Adam Bradley
e373db9eee
update this to window, closes #1144
2014-04-17 20:44:31 -05:00
Tim Lancina
d8919269e8
set activeElement on focus
2014-04-17 14:50:43 -05:00
Adam Bradley
c587dec28f
android textarea .cloned-text-input fix
2014-04-17 11:31:05 -05:00
Adam Bradley
ee1c8dc8b7
tap updates for select elements
2014-04-17 11:07:14 -05:00
Adam Bradley
43627f77c1
created containsOrIsTextInput
2014-04-17 09:49:08 -05:00
Adam Bradley
d0047cda44
refactor(tap): Refactor tap system for improved tap/click/keyboard/scroll/focus
...
Overhaul of the tap system so the keyboard does not cover up focused
inputs, correctly bring up the keyboard on text input focus, disabling
focus during scroll, disabling clicks after a hold then scroll,
removing 300ms delay without additional event handlers on each element,
etc. Refactored the tap/click/scroll/activator events for more
testability, along with adding more tests.
2014-04-17 08:26:25 -05:00
Andy Joslin
e75e20dc9d
refactor: $animate - add $animateClassToggler to stop race conditions
...
Addresses #1100 .
Fixes race conditions where $animate.{removeClass,hideClass} are
called simultaneously, in addition fixes any blinking that coulld be
caused by showing an element just attached to the dom.
2014-04-10 10:35:36 -06:00
Andy Joslin
98e7e3df46
refactor($ionicLoading,$ionicPopup): factor out common code, add tests
...
Also fixes $ionicLoading flickering on ios7 in beta.1.
2014-04-08 13:35:02 -06:00
Adam Bradley
8af018b1fa
fix(scroll): Allow scrolling when touchstart target is an input, #1078
2014-04-08 14:28:12 -05:00
Adam Bradley
5c300dd3e0
refactor(platform): Rename isCordova() to isWebView()
...
BREAKING CHANGE: ionic.Platform.isCordova() has been renamed to
ionic.Platform.isWebView()
2014-04-07 11:56:11 -05:00
Adam Bradley
79f6b251c3
test(tap): Tests for ignoreTapInspect, recordCoordinates, isRecentTap
2014-04-07 11:07:31 -05:00
Adam Bradley
a977332f2b
fix(tap): Do not preventDefault after input focus, #1068
2014-04-07 09:43:41 -05:00
Adam Bradley
e3c59e96a9
test(tap): add some more tests for taps
2014-04-07 00:44:29 -05:00
Adam Bradley
cf686548da
fix(tap): Remove 300ms delay when tapping select elements
2014-04-05 23:43:12 -05:00
Adam Bradley
b1d9ab84f4
run not ran
2014-04-05 21:28:12 -05:00
Adam Bradley
ead30f2ed5
docs(platform): Explain ionic.Platform.ready() further
2014-04-05 20:46:17 -05:00
Adam Bradley
cb602b587b
fix(tap): Prevent clicks from firing after scrolling, #579
2014-04-04 12:28:42 -05:00
Adam Bradley
3ee5ea77a6
fix(tap): Deactivate elements during scroll at the same time click is ignored, #997
...
Previously I disabled the activation class immediately on a touchmove,
where as the click will still work if you touchstart and touchend
within a few pixels of each other. So visually it may have looked like
the click shouldn't have worked. I just updated it so the use the same
numbers. For example, if you hold down an item and move just 5 pixels,
the item will stay active (before it wouldn't have), and the click will
fire. But at the same time, if you hold down an item, and move a larger
distance, once it realizes that it went farther than 6 pixels it'll not
allow a click to happen, AND it'll not show the item as being active.
2014-04-03 23:24:31 -05:00
Adam Bradley
0c1362861d
refactor ionic.tap and start writing tests
2014-04-03 13:52:48 -05:00
Adam Bradley
f2d52ea987
set focus() only if it wasn't scrolled, selection and type=email throws errors
2014-04-02 16:04:01 -05:00
Adam Bradley
66ecec7031
fix(scroll): Fix input focus when tapped, do not scroll when target is an input, closes #1020
2014-04-02 14:22:56 -05:00
Adam Bradley
78510099ad
fix(tap): Do not simulate a click if it was from a touchcanel event, closes #1015
2014-04-02 10:07:45 -05:00
Adam Bradley
5f3a1d21c6
fix(tap): Prevent multiple clicks when overriding cordova object, closes #1022
2014-04-02 09:57:16 -05:00