Block <input>.focus() calls from script when we have a VKB

RESOLVED WONTFIX

Status

Firefox OS
Gaia::Browser
RESOLVED WONTFIX
6 years ago
3 years ago

People

(Reporter: cjones, Unassigned)

Tracking

({polish})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: interaction design [UX-P?])

STR
 (1) Visit bing.com
 (2) Get served crappy desktop site instead of nice mobile site
 (3) Finish page load

The keyboard is automatically popped up and it's extremely jarring.  On desktop, .focus() is a small UI change, not particularly distracting.

With a VKB, it's a huge and disorienting UI change.

We should still move focus the element though.

I think we can implement this by blocking bringing up the keyboard in forms.js when the bubbling event isn't being handled in the context of a user-input event (i.e. the popup blocker trick).

(bb? to get on triage radar, not suggesting to block release on this.)

Comment 1

6 years ago
UX bugs are being triaged and prioritized by UX.
blocking-basecamp: ? → ---
Whiteboard: interaction design
Vivien and I both seem to prefer this behavior, but one of the user stories is that the input box is auto-focused and brings up the keyboard when entering conversation view.

So we either need a new API (yuck), or to WONTFIX this.
Flags: needinfo?(jcarpenter)
Whiteboard: interaction design → interaction design [UX-P?]
Please reopen if requirement changes.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WONTFIX
Blast from the past.
Flags: needinfo?(jcarpenter)
You need to log in before you can comment on or make changes to this bug.