Closed Bug 894469 Opened 11 years ago Closed 10 years ago

[Keyboard] When keyboard opens viewport height should diminish

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mail, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212

Steps to reproduce:

I have an input on top of the app and bellow a div that is positioned top 3e, and bottom 0. This div is scrollable and has a list inside it.


Actual results:

When keyboard is hidden I can scroll the list without problem, when input is focused and keyboard opens the viewport doesn't diminishes and the scrollable area doesn't get recalculated, resulting in content that gets hidden behind keyboard. 

I tested with JS and the viewport height is 960 both with keyboard closed or opened. 




Expected results:

When keyboard opens viewport should diminish and the div that is fixed bottom 0 should be pushed up it's scrollable area should get recalculated. This is the behavior in Android.
Blocks: 1.3-keyboard
Hi, does this still occur? We have changed the way we do keyboard height recalculation.
Flags: needinfo?(mail)
Hi Jan, unfortunately I won't be able to confirm it because I don't have the geeksphone anymore.
Flags: needinfo?(mail)
Hi, I don't think this bug is still occur but I would like to make sure. Could you attach a reduce test case of the app page in comment 0 so I can ask people to test on it?
Flags: needinfo?(mail)
Close as WFM due to inactivity.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mail)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.