Closed Bug 796373 Opened 13 years ago Closed 13 years ago

[browser] scrolling form fields into view closes the keyboard

Categories

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

defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
blocking-basecamp +

People

(Reporter: ghtobz, Assigned: rudyl)

References

Details

(Whiteboard: [label:browser][label:Keyboard & IME][label:needsGeckoSupport][LOE:S])

[GitHub issue by autonome on 2012-07-06T00:00:02Z, https://github.com/mozilla-b2g/gaia/issues/2213] common action is to scroll form fields into view while editing them. on b2g, when i try this, the keyboard closes, and then i have to refocus the text field and get the keyboard up again. on android i can scroll the page down, and the keyboard stays up and i can continue editing uninterrupted.
[GitHub comment by timdream on 2012-07-06T03:36:33Z] @RudyLu ?
[GitHub comment by RudyLu on 2012-07-06T03:47:19Z] For now we only support switching the focus from one text field (input) to another (without hiding the keyboard). For scrolling, this might trigger "onfocuschange" of the previous selected text field and let the keyboard hidden. May need some time to think of a way to support scrolling the app window. Dear Dietrich, Thanks for raising this issue.
[GitHub comment by timdream on 2012-07-06T04:08:09Z] @RudyLu you should look into how we currently support scrolling and how we will do it in the future.
[GitHub comment by jcarpenter on 2012-07-06T07:58:22Z] Thanks guys, I just posted on the same topic. This is _really_ important to forms functionality. :)
[GitHub comment by benfrancis on 2012-07-06T11:33:49Z] How can we differentiate between scroll and blur? We're adding a scroll event to the Browser API but I'm not sure if this helps?
[GitHub comment by autonome on 2012-09-14T16:09:14Z] Contacts, wifi auth, everyone on triage agreed this is super painful daily-use issue.
[GitHub comment by autonome on 2012-09-14T16:09:35Z] @RudyLu can you provide an LOE estimate for this work?
[GitHub comment by RudyLu on 2012-09-17T06:52:16Z] Depends on the this Gecko issue, [Bug 766066] (https://bugzilla.mozilla.org/show_bug.cgi?id=766066) - mozKeyboard.onfocuschange shouldn't be raised when you are scrolling
[GitHub comment by autonome on 2012-09-25T00:29:36Z] Does that bug fix this completely, or is there still Gaia work to be done?
Priority: -- → P1
Rudy said this issue should be fixed by bug 766066; but I would like to keep this open until we can verify the above statement is true.
Depends on: 766066
Priority: P1 → --
Priority: -- → P3
Works on the browser for me. This is not the same code path than https://bugzilla.mozilla.org/show_bug.cgi?id=766066 so closing.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Verified in today's build. 10/26 Nightly on Otoro.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.