Commit Graph

13 Commits

Author SHA1 Message Date
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
Tim Lancina
70527172af don't scroll twice on double focus 2014-05-05 15:03:37 -05:00
Tim Lancina
3abab65351 android fullscreen tweaks 2014-05-02 16:57:19 -05:00
Tim Lancina
708fc85bf5 keyboard size in Safari, remove isOverWebView() 2014-04-30 16:28:44 -05:00
Tim Lancina
c9e07e810e poll for window height change on android 2014-04-29 15:43:51 -05:00
Tim Lancina
a7f6e1c7c6 get keyboard wip stuff working decently on android 2014-04-28 16:21:01 -05:00
Adam Bradley
ae3318a081 refactor(keyboard): Scroll to inputs hidden by keyboard 2014-04-24 20:22:16 -05:00
Tim Lancina
d8919269e8 set activeElement on focus 2014-04-17 14:50:43 -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
Adam Bradley
dccf7b4182 rename .hide-footer to .footer-hide 2014-03-24 13:11:03 -05:00
Andy Joslin
d056ad1fef perf(animations): throttle calls to requestAnimationFrame
Closes #582
2014-02-17 17:26:34 -05:00
Andy Joslin
0c52fd2673 chore(travis): remove console.log from *all* ionic js files
Closes #586
2014-02-13 12:28:44 -05: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