Closed Bug 1511174 Opened 6 years ago Closed 6 years ago

USPS.com keyboard covers address input field

Categories

(GeckoView :: IME, defect, P1)

Unspecified
Android
defect

Tracking

(firefox65 wontfix, firefox66 affected, firefox67 affected)

RESOLVED WORKSFORME
Tracking Status
firefox65 --- wontfix
firefox66 --- affected
firefox67 --- affected

People

(Reporter: cpeterson, Assigned: m_kato, NeedInfo)

References

Details

(Keywords: papercut, Whiteboard: [geckoview:fenix:p1])

STR: 1. Open USPS.com 2. Tap on 'change my address' and then 'get started' 3. Tap on any input fields Expected behavior As the keyboard opens, the input field should move up so the user can see what they are typing. Actual behavior Input field is covered by the keyboard. Vesta filed a Focus issue: https://github.com/mozilla-mobile/focus-android/issues/3985 See also old Fennec bug 1325030 and bug 1309551.
I think things are going wrong because the input field is in a scrollable element. We get here[0] and then end up with an empty rect. Maire, could we get some help with this? [0] https://searchfox.org/mozilla-central/rev/e22c0d152060f4f8d4ca8904094f15f65a1b6f93/layout/base/nsLayoutUtils.cpp#9825
Flags: needinfo?(mreavy)
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #2) > I think things are going wrong because the input field is in a scrollable > element. We get here[0] and then end up with an empty rect. Maire, could we > get some help with this? > > [0] > https://searchfox.org/mozilla-central/rev/ > e22c0d152060f4f8d4ca8904094f15f65a1b6f93/layout/base/nsLayoutUtils.cpp#9825 Cameron -- Thoughts about what's going on here? usps is a pretty major site.
Flags: needinfo?(mreavy) → needinfo?(cam)
P1 since this will frustrate users trying to enter data in a form.
Keywords: papercut
Priority: -- → P1
Product: Firefox for Android → GeckoView
We don't call nsISelectionController::ScrollSelectionIntoView after opening virtual keyboard. Editor calls it on focus event, but it is before opening virtual keyboard.
P1 for Fenix
Whiteboard: [geckoview:fenix] → [geckoview:fenix:p1]
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #2) > I think things are going wrong because the input field is in a scrollable > element. We get here[0] and then end up with an empty rect. Maire, could we > get some help with this? > > [0] > https://searchfox.org/mozilla-central/rev/ > e22c0d152060f4f8d4ca8904094f15f65a1b6f93/layout/base/nsLayoutUtils.cpp#9825 It seems to be regression by bug 1204084.
Assignee: nobody → m_kato
See Also: → 1149300

I cannot reproduce this today.... (Focus 8.0.6) hmm.

I cannot reproduce this anymore either. We can close this.

OK, I close as WFM. But I continue same issue by bug 1149300.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(cam)
Resolution: --- → WORKSFORME

Works fine except when the field has a css property position set to fixed (uncommented).
This occurs only with GeckoView. With Android WebView the Field is displayed at the top of the keyboard.

#mycurrentmessage {
/position : fixed;/
bottom : 0;
left : 0;
right : 0;
background-color: #ffffff;
border: 1px solid #e6e6e6;
margin-top: 20px;
/arrondir les coins en haut à gauche et en bas à droite/
border-radius: 10px 10px;
/min-height: 20%;/
}

Flags: needinfo?(m_kato)

Works fine except when the field has a css property position set to fixed (uncommented).
This occurs only with GeckoView. With Android WebView the Field is displayed at the top of the keyboard.

#mycurrentmessage {
    /*position : fixed;*/
    bottom : 0;
    left : 0;
    right : 0;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    margin-top: 20px;
    border-radius: 10px 10px;
}

(In reply to Guy Abossolo Foh from comment #12)

Works fine except when the field has a css property position set to fixed (uncommented).
This occurs only with GeckoView. With Android WebView the Field is displayed at the top of the keyboard.

Could you file a new bug since this is another issue?

Flags: needinfo?(m_kato) → needinfo?(info)

(In reply to Makoto Kato [:m_kato] from comment #13)

(In reply to Guy Abossolo Foh from comment #12)

Works fine except when the field has a css property position set to fixed (uncommented).
This occurs only with GeckoView. With Android WebView the Field is displayed at the top of the keyboard.

Could you file a new bug since this is another issue?

Yes, I going to file a new bug. Thanks.

Flags: needinfo?(info)

Done : Bug 1625644.

Flags: needinfo?(info)

Moving some keyboard bugs to the new GeckoView::IME component.

Component: General → IME
You need to log in before you can comment on or make changes to this bug.