https://github.com/benignware/keyboardposition-fix
This fix addresses flawed virtual keyboard positioning within fixed elements on ios6 and android
https://github.com/benignware/keyboardposition-fix
Last synced: 11 months ago
JSON representation
This fix addresses flawed virtual keyboard positioning within fixed elements on ios6 and android
- Host: GitHub
- URL: https://github.com/benignware/keyboardposition-fix
- Owner: benignware
- Created: 2014-01-31T17:41:18.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-04T20:06:45.000Z (over 12 years ago)
- Last Synced: 2023-08-12T18:37:45.630Z (almost 3 years ago)
- Language: JavaScript
- Size: 180 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
keyboard-position-fix
==========
This fix addresses flawed virtual keyboard positioning within fixed elements on iOS6 and Android
Issue
-----
When focusing input elements contained in fixed positioned elements that trigger the virtual keyboard, the screen isn't properly adjusted on iOS6 and Android.
This makes the UI inusable if the keyboard hides the focused element.
The issue is described here:
* http://getbootstrap.com/getting-started/#support-fixed-position-keyboards
* http://stackoverflow.com/questions/7970389/ios-5-fixed-positioning-and-virtual-keyboard
Fix
-----------------
The fix hooks in the focusin-event of the document and transforms the position of the fixed parent container on iOS and the body of the document on android.
In iOS7 the issue seems to be resolved and the fix is not applied.