Closed Bug 1998404 Opened 1 month ago Closed 2 days ago

www.webmd.com - Find in page bar disappears when it scrolls down through the findings

Categories

(Firefox for Android :: Browser Engine, defect)

ARM
Android
defect

Tracking

()

RESOLVED FIXED
148 Branch
Webcompat Score 1
Tracking Status
firefox144 --- wontfix
firefox145 --- wontfix
firefox146 --- affected
firefox147 --- fixed
firefox148 --- verified

People

(Reporter: ctanase, Assigned: petru)

References

()

Details

(Whiteboard: [webcompat-source:web-bugs][webcompat:sightline][fxdroid][group3])

User Story

user-impact-score:0

Attachments

(5 files)

Environment:
Operating system: Android 15
Firefox version: Firefox Mobile 144.0/146

Steps to reproduce:

  1. Go to https://www.webmd.com/vitamins/ai/ingredientmono-138/milk-thistle
  2. Dismiss the cookie banner.
  3. Tap on the browser kebab menu and select "Find in page".
  4. Type "milk" on the "Find in page" search bar.
  5. Tap on the down arrow to go through the results. (at the time of testing it reproduced when reached result 8)

Expected Behavior:
Find in page bar is still visible and can go through other results.

Actual Behavior:
Find in page bar disappears.

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/186430

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]

This is likely not a webcompat bug, but if it is, just move it back to our component.

Component: Site Reports → Browser Engine
Product: Web Compatibility → Firefox for Android
User Story: (updated)
Webcompat Score: --- → 1

The severity field is not set for this bug.
:boek, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)

It looks like when the find in page is scrolling the page the toolbar is getting presented (maybe also dismissing the find in page bar?)

Petru do you happen to know how this behavior cooperates?

Flags: needinfo?(jboek) → needinfo?(petru)

This is interesting.
Taking it for investigation.

Whiteboard: [webcompat-source:web-bugs][webcompat:sightline] → [webcompat-source:web-bugs][webcompat:sightline][fxdroid][group3]
Assignee: nobody → petru
Status: NEW → ASSIGNED
Flags: needinfo?(petru)

The "#" separator is already a reserved character for separating url fragments
and we can easily use it for cleaning the URL that is observed for knowing when
the user actually navigates away to a different website.

Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/de8aca3bd6a0 https://hg.mozilla.org/integration/autoland/rev/c40173b917a7 Ignore URL fragment changes for closing the find in page UX r=android-reviewers,moyin
Status: ASSIGNED → RESOLVED
Closed: 2 days ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch

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

Flags: qe-verify+

I managed to reproduce the issue on an earlier build (147.0b1).

Verified as fixed on the latest Nightly build (148.0a1 from 2025-12-09T14:30:57).

Find in page bar is still visible and can go through other results.

Device used: Samsung Galaxy S25 Ultra (Android 15).

Marking the ticket as verified on 148.

Flags: qe-verify+

firefox-beta Uplift Approval Request

  • User impact if declined: Very small fix for fixing the find in page functionality on websites using URL fragments - prevent the find in page UX abruptly ending when navigating through results.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: https://bugzilla.mozilla.org/show_bug.cgi?id=1998404#c0
  • Risk associated with taking this patch: low
  • Explanation of risk level: Very small targeted fix.
    Verified by QA.
  • String changes made/needed: --
  • Is Android affected?: yes
Attachment #9531961 - Flags: approval-mozilla-beta?
Flags: qe-verify+

The "#" separator is already a reserved character for separating url fragments
and we can easily use it for cleaning the URL that is observed for knowing when
the user actually navigates away to a different website.

Original Revision: https://phabricator.services.mozilla.com/D275416

firefox-release Uplift Approval Request

  • User impact if declined: Very small fix for fixing the find in page functionality on websites using URL fragments - prevent the find in page UX abruptly ending when navigating through results.
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: https://bugzilla.mozilla.org/show_bug.cgi?id=1998404#c0
  • Risk associated with taking this patch: low
  • Explanation of risk level: Very small targeted fix.
    Verified by QA.
  • String changes made/needed: --
  • Is Android affected?: yes
Attachment #9531962 - Flags: approval-mozilla-release?

The "#" separator is already a reserved character for separating url fragments
and we can easily use it for cleaning the URL that is observed for knowing when
the user actually navigates away to a different website.

Original Revision: https://phabricator.services.mozilla.com/D275416

Attachment #9531961 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
See Also: → 2004721
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: