Open Bug 1953721 Opened 6 months ago Updated 2 days ago

m.facebook.com - The keyboard overlaps the comment input field when triggered

Categories

(Web Compatibility :: Site Reports, defect, P2)

ARM
Android

Tracking

(Webcompat Priority:P2, Webcompat Score:6, firefox136 affected, firefox137 affected, firefox138 affected)

Webcompat Priority P2
Webcompat Score 6
Tracking Status
firefox136 --- affected
firefox137 --- affected
firefox138 --- affected

People

(Reporter: rbucata, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: webcompat:contact-in-progress, webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan])

User Story

platform:android
impact:feature-broken
configuration:general
affects:all
branch:release
diagnosis-team:layout
user-impact-score:450

Attachments

(3 files)

Environment:
Operating system: Android 15
Firefox version: Firefox Mobile 136.0

Steps to reproduce:

  1. Navigate to: https://m.facebook.com/ and perform account login
  2. Select a post and tap on the "Comment" icon located below
  3. Tap inside the comment input field and observe

Expected Behavior:
The comment field has a sticky position above the keyboard

Actual Behavior:
The keyboard overlaps the comment field

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/150295

Attached video ff vs chrome

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][webcompat:sightline]
Webcompat Score: --- → 1
Severity: -- → S3
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: 1 → 6
Priority: -- → P2

Sounds like maybe the same thing as bug 1943053 - maybe this will benefit (or did benefit) from the platform-bugs that that bug depends on -- bug 1900622 or bug 1943865 or bug 1951016. (Notably, the fix in bug 1951016 just landed, so it might be interesting to retest with latest Nightly in a day or so, or whenever current mozilla-central makes it to a Nightly.)

hiro, could you take a look and see if this is the same underlying issue/issues?

Flags: needinfo?(hikezoe.birchill)
See Also: → 1943053

I can reproduce the bug in latest Nightly (2024-03-24). However, I'm not sure it's actually Firefox-specific.

I hit three different types of failures here:
(1) when I tap the textfield, the keyboard comes up and then immediately disappears.
(2) when I tap the textfield, the keyboard comes up but the content barely shifts upwards, so the textfield is way out of view.
(3) when I tap the textfield, the keyboard comes up and the content does shift upwards to bring the textfield mostly into view, but it's partly covered up by the dynamic toolbar (if you've got the toolbar at the bottom of the screen) or slightly offscreen (if you've got the dynamic toolbar at the top of the screen).

I think the original screencast here is showing category (2) of failure.

But I can reproduce categories (1) and (2) in Chrome on my phone (Pixel 9 Pro XL). It's a bit random so it doesn't happen every time, and it might happen more often in Firefox than in Chrome (it feels a bit like it from my testing just now), but it definitely does happen in both.

So far category (3) is only failure that seems entirely Firefox-specific to me here.

Here's a screencast showing the bug reproducing in Chrome.

My first two taps in the textfield trigger category (1) failures (and they cause the page to scroll a bit).
My third tap and in the textifled triggers expected results.
My fourth tap in the textfield (t=11s) triggers a category (2) failure.
My fifth tap triggers expected results.
My sixth tap (t=19s) triggers a category (2) failure.

Here's a screencast showing the bug reproducing in Firefox Nightly.

My first tap in the textfield triggers a category (1) failure (and scrolls the page down by ~1 screen height).
My second tap in the textfield triggers a category (1) failure (but does not scroll).
My third and fourth taps in the textfield (t=7s) trigger category (2) failures.
Then I scroll back to the top and try again.
My fifth tap in the textfield (t=12s) triggers a category (3) failure.
My sixth tap in the textfield (t=16s) and all subsequent taps trigger a category (2) failure.

Notes/observations.

  • In both Firefox and Chrome, we hit two category (1) failures right away (first two taps), which is an interesting pattern (and an interesting signal that things-are-pretty-broken-here, not through any fault of ours).
  • We do hit category (2) failures much more reliably than Chrome does, based on my observations - though they happen for both of us. Not sure if that's due to some particular Firefox defect, or a race condition of some sort that we lose more often than Chrome does, or some particular quirk where certain scroll positions are unlucky and we happen to hit those more readily.... But probably we should pass this part along to folks at Facebook to investigate, since they affect multiple browsers.
  • Category (3) failures are cases where we've got nearly expected results, and the taps that trigger that sort of failure do instead trigger expected-results if I disable the dynamic toolbar or scroll it out of view before tapping. (So there's a wrinkle to be ironed out there, but it's a case where things are mostly working properly.)

--> adding webcompat:needs-contact for categories (1) and (2).

Leaving needs-diagnosis to look into the category (3) failures where our dynamic toolbar is preventing us from quite getting expected-results here and partly covering up the textbox.

Hmm, I suspect category (3) is bug 1900622. Let's consider that part diagnosed as that bug.

Depends on: 1900622
Flags: needinfo?(hikezoe.birchill)

(In reply to Daniel Holbert [:dholbert] from comment #7)

--> adding webcompat:needs-contact for categories (1) and (2).

I just reached out to our point of contact for Facebook folks.

Duplicate of this bug: 1986468

Didn't hear back to my outreach in comment 9; I sent another message today, inspired by bug 1986468 which I think is basically a duplicate of the same sorts of issues discussed here.

No longer duplicate of this bug: 1986468
Whiteboard: [webcompat-source:web-bugs][webcompat:sightline] → [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan]
Depends on: 1988730
No longer depends on: 1900622
See Also: → 1900622
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: