Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

Keyboard overlaps input if input is "position:absolute" #299

Open
felipegrin opened this issue Oct 20, 2017 · 0 comments
Open

Keyboard overlaps input if input is "position:absolute" #299

felipegrin opened this issue Oct 20, 2017 · 0 comments

Comments

@felipegrin
Copy link

I'm making a chat app that has an ion-input at the bottom of the screen inside a div with the following CSS:

position: absolute;
bottom: 0;

The problem is that when running the app on certain android phones the keyboard overlaps the input and the user can't see what he is typing. In iOS is everything working fine.

If I remove the CSS above, everything works fine (the input stays on focus, at the middle of the screen).

The strangest part, is that if I create a new project and try to recreate the problem, i simply can't. Even with the CSS above everything works fine, in all devices. The problems seems to appear only in the specific project I'm working on, but i have no clue what might be causing this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant