hdfcbank.com - When typing in the support chat, it gets scrolled to the top
Categories
(Core :: Panning and Zooming, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | unaffected |
| firefox136 | --- | unaffected |
| firefox137 | --- | wontfix |
| firefox138 | --- | verified |
| firefox139 | --- | verified |
People
(Reporter: ctanase, Assigned: hiro)
References
()
Details
(Keywords: webcompat:platform-bug, webcompat:site-report)
User Story
platform:android impact:workflow-broken configuration:general affects:all branch:release diagnosis-team:apz user-impact-score:800 platform-scheduled:2025-06-30
Attachments
(8 files)
|
2.10 MB,
video/mp4
|
Details | |
|
555 bytes,
text/html
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
2.55 MB,
video/mp4
|
Details |
Environment:
Operating system: OnePlus 6 A6000 (Android 11)
Firefox version: Nightly 137.0a1-20250209212051, Beta 136.0-20250207091649, Release 135.0-20250130195129
Preconditions:
• Clean profile
Steps to reproduce:
- Go to https://www.hdfcbank.com
- Tap on "ASK EVA" button located at the bottom of the screen close to the center.
- Tap on the message box.
- Scroll up to make the message box visible again.
- Type something.
Expected Behavior:
The chat remains on the same position.
Actual Behavior:
The chat gets scrolled to the top, hiding the message box.
Notes:
- Screen rec attached
- There are 2 layouts for the chat, doesn't seem to affect this behavior
- Reproducible regardless of the ETP status
- Not reproducible on Firefox Release and Chrome
- Issue found during WebCompat team [Top100] websites testing
Updated•1 year ago
|
Comment 1•1 year ago
|
||
So I can reproduce once the chat is long enough. It seems we're scrolling the input into view, but it is covered by the dynamic toolbar. Hiro, you've recently looked at similar issues, can you take a look?
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Botond suggests that bug 1949319 is unlikely to be the cause of this.
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
As of this commit the new mochitest fails, it will suceed after the next
change.
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
| Assignee | ||
Comment 6•1 year ago
|
||
A big difference of the new test is that it's testing on the root scroll
container which has been already scrolled to some extent.
Just like the original test, this new test doesn't work on Firefox
because of the lack of the support of touch actions.
Comment 7•1 year ago
|
||
(moving this to diagnosis-team:apz to reflect reality, since hiro's looking into this. Thanks, hiro!)
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Removing needs-diagnosis flag since we have a diagnosis (and a proposed fix).
| Assignee | ||
Comment 9•1 year ago
|
||
I am going to land only D239480 and D239482 since I'd like to fix bug 1950744 case in D239481 altogether.
Comment 10•1 year ago
|
||
Comment 12•1 year ago
|
||
Backed out for causing mochitest failures @ test_group_zoomToFocusedInput
Backout link: https://hg.mozilla.org/integration/autoland/rev/5389dad673aca26f9acf7df4d96e05f1ca1fae4a
| Assignee | ||
Comment 14•1 year ago
|
||
(In reply to Sandor Molnar[:smolnar] from comment #12)
Backed out for causing mochitest failures @ test_group_zoomToFocusedInput
Backout link: https://hg.mozilla.org/integration/autoland/rev/5389dad673aca26f9acf7df4d96e05f1ca1fae4a
On our Android environments, scrollTo(0, 1000) isn't sufficient to hit this bug's condition. (The window.innerHeight value was 1136px).
I changed it to scrollTo(0, 2000).
Comment 15•1 year ago
|
||
Comment 16•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Comment 18•11 months ago
|
||
This case is similar to helper_scrollIntoView_bug1950744.html [1], a big
difference is that the position:fixed element is in view, but some part of
the element is overflowed from the layout viewport. Thus we fail to check [2]
whether the given position:fixed element is inside the visual viewport.
[1] https://searchfox.org/mozilla-central/rev/5fb48bf50516ed2529d533e5dfe49b4752efb8b8/gfx/layers/apz/test/mochitest/helper_scrollIntoView_bug1950744.html
[2] https://searchfox.org/mozilla-central/rev/7857ea04d142f2abc0d777085f9e54526c7cedf9/layout/base/PresShell.cpp#3847-3854
| Assignee | ||
Comment 19•11 months ago
|
||
For safety, both of helper_scrollIntoView_bug1950744.html and
helper_scrollIntoView_bug1950744-2.html run with
layout.scroll_fixed_content_into_view_visually=true and
layout.scroll_fixed_content_into_view_visually=false because these tests
should NOT cause any scrolling regardless of the pref value.
Comment 20•11 months ago
|
||
Comment 21•11 months ago
|
||
| bugherder | ||
| Assignee | ||
Updated•11 months ago
|
| Assignee | ||
Updated•11 months ago
|
| Assignee | ||
Comment 22•11 months ago
|
||
Comment on attachment 9468212 [details]
Bug 1947470 - Offset the target position:fixed element by the layout scroll offset. r?dlrobertson
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: A bank site is totally unusable, also sites such as bug 1950744 case keep broken
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): We've already haven a mitigation that this code change doesn't affect on desktop at all (bug 1955158)
- String changes made/needed: none
- Is Android affected?: Yes
Updated•11 months ago
|
Updated•11 months ago
|
Comment 23•11 months ago
|
||
Comment on attachment 9468212 [details]
Bug 1947470 - Offset the target position:fixed element by the layout scroll offset. r?dlrobertson
Approved for 138.0b6
Comment 24•11 months ago
|
||
| uplift | ||
Updated•11 months ago
|
Comment 25•11 months ago
|
||
This issue is verified as fixed on Firefox for Android Nightly 139 (2025-04-13) and Firefox 138 Beta beta 6 under OnePlus 6T (Android 11) and Samsung S24 Ultra (Android 14). Confirming that the chat remains visible during the entire typing process.
Updated•11 months ago
|
Description
•