ionic-team / cordova-plugin-ionic-keyboard

Keyboard Plugin for Cordova
Other
193 stars 178 forks source link

iOS keyboard breaks all position:fixed elements #65

Closed 0awful closed 5 years ago

0awful commented 5 years ago

Upon opening keyboard all position fixed elements become position:absolute and remain in their pre opening keyboard position.

jcesarmobile commented 5 years ago

Can you provide a sample app? What are your keyboard settings? (preferences in config.xml)

jcesarmobile commented 5 years ago

I can't reproduce. The default settings resize the webview, so might look like the elements are moved, but the reality is they webview was resized. If you don't want that behaviour set the KeyboardResize preference to false <preference name="KeyboardResize" value="false" />.

If already using that preference and you can still reproduce, feel free to reopen, but please, provide some code and screenshots or a sample project.

elvisgraho commented 4 years ago

+1. Issue seems that when you have fixed element (such as footer) and you have a searchbox (that can push fixed element with the keyboard).

<preference name="KeyboardResize" value="false" /> does not fix the issue.