Closed Bug 1013317 Opened 10 years ago Closed 10 years ago

[Keyboard] Shouldn't change the size of the browser window

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 970093

People

(Reporter: wilsonpage, Unassigned)

Details

Attachments

(1 file)

Attached image browser-keyboard.png (deleted) —
When the keyboard opens the app window is resized to make space for the keyboard UI, instead of leaving the window unchanged and overlaying the keyboard. This is a risky solution:

- Can often make apps/sites unusable by vertically squashing content together.
- Could activate height based @media queries only while the keyboard is open.
- Would trigger a window 'resize' event that could result in unwanted callbacks being run, this could impact performance or visually change the UI.

I am quite passionate about this problem as I spent months battling against the same thing on Blackberry Playbook at the FT. We had to introduce all sorts of hacks to work around it.

Perhaps these issues are already on someone's radar, but I just wanted to flag it up to make sure. IMO the OS should try to interfere as little as possible with the app's domain.
Summary: [Keyboard] Shouldn't change the size of the app window → [Keyboard] Shouldn't change the size of the browser window
Yeah, we're working on this. See bug 970093.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: