When tapping a link, the address bar opens and shifts the current page before loading the new page
Categories
(Firefox for Android :: Toolbar, enhancement, P3)
Tracking
()
People
(Reporter: raj.azharuddin, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [qa-triaged])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Android 14; Mobile; rv:130.0) Gecko/130.0 Firefox/130.0
Steps to reproduce:
Set toolbar to top
Browse any webpage and scroll
The toolbar and address bar will hide as expected
Now click any hyperlink in the webpage
Toolbar is display and webpage is shifted bit down which kinds of feel weird
In chrome browsers, after clicking hyperlink the toolbar is displayed without shifting webpage
Expected results:
Should not shift webpage position
Comment 1•1 year ago
|
||
I was able to reproduce this issue on Firefox Nightly 130 (2024-08-05) and Firefox 129 RC on Samsung Galaxy A32 with Android 13 and Google Pixel 8 with Android 14. I confirm that the page is scrolled a bit down just before redirecting to the new page.
Comment 2•1 year ago
|
||
Comparing with Chrome
Updated•1 year ago
|
Comment 3•1 year ago
|
||
Toolbar is display and webpage is shifted bit down which kinds of feel weird
Raj, thanks for the bug report! Are you referring to the first page ("Andaman and Nicobar Islands") shifting or the second page ("Indira Point")?
In the Vasilica's recordings, I see that:
- Firefox displays the address bar before loading the second page. This causes the first page to shift.
- Chrome displays the address bar after loading the second page. This causes the second page to shift. While dragging the video playback frame by frame, during second 0:03 of the Chrome video, the "Indira Point" page title shifts down.
I think displaying the address bar before loading the second page provides quick visual feedback to the user that Firefox is opening the hyperlink, but I agree that the shift the first page is distracting. Maybe we can display the address bar without shifting the first page.
| Reporter | ||
Comment 4•1 year ago
|
||
Yeah correct the first page shift in position is distracting
Comment 5•1 year ago
|
||
On closer inspection of the Chrome recording, I see that Chrome starts to open the address bar before loading the second page, but it doesn't shift the first page.
I asked the Firefox security team if there might be a security or phishing risk if we simply didn't show the distracting address bar at all when navigating to a new page. As long as the user is navigating to the same origin (for example: from https://en.m.wikipedia.org/wiki/Andaman_and_Nicobar_Islands to https://en.m.wikipedia.org/wiki/Indira_Point), they didn't think there was security risk. We still might want to overlay the address bar without shifting the page so the user knows we're handling their tap and loading the new page.
| Reporter | ||
Comment 7•11 months ago
|
||
Hi team any update?
Comment 8•11 months ago
|
||
(In reply to raj.azharuddin from comment #7)
Hi team any update?
This is still on our radar but although a small edgecase fixing it is not straightforward at the moment.
It does tie in with much bigger changes that we have planned and are actively working on with the hope of fixing ~all such edgecases.
Description
•