The dynamic toolbar overlaps an active input field for certain page heights
Categories
(Core :: Panning and Zooming, defect, P2)
Tracking
()
People
(Reporter: ajakobi, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
This regresses bug 1855990.
Hiding the toolbar wouldn't be the correct behavior. See comment #2 and comment #3
When the default mode for interactive-widget
is set, the condition in AsyncPanZoomController::ZoomToRect
does not evaluate to true
because scrollableRectHeight
is always larger than lvh
. (reproducible with attached test page interactive-widget-default)
In contrast, when setting interactive-widget=resizes-content
, the condition does evaluate to true
and the toolbar can be hidden. Which as of now is only seen on GeckoView and will be available on Fenix when bug 1900622 is resolved. (reproducible with attached test page interactive-widget-resizes-content)
Reporter | ||
Comment 1•2 months ago
|
||
Comment 2•2 months ago
|
||
I am assuming in the case of interactive-widget=resizes-visual
, we don't need to hide the toolbar.
Comment 3•2 months ago
|
||
And moreover in the case of interactive-widget=resizes-visual
, we should not change the dynamic toolbar height, since changing the height changes the layout viewport size, which means it violates the spec.
Reporter | ||
Comment 4•2 months ago
|
||
That's good information. Should we then rather rephrase this bug to 'The dynamic toolbar overlaps an active input field for certain page heights'?
Comment 5•2 months ago
|
||
Yep, probably there needs some tweaks in scroll-into-view machinery if the input field isn't in the view.
Reporter | ||
Updated•2 months ago
|
Comment 6•2 months ago
|
||
Going by comment #5 this seems like something that would be handled entirely in Gecko.
Not sure how big the effort would be.
Given that this is an old bug/edgecase and I see the work on bug 1900622 is considered paused should these two tickets block the release of the navbar or can be seen as later improvements?
Reporter | ||
Comment 7•1 month ago
|
||
See bug 1900622, comment #38: I don't think this should block the release of the navbar.
Comment 8•1 month ago
|
||
Fenix could always hide the bottom toolbar whenever the keyboard is visible. This is what Safari does. I think that would fix this testcase.
Comment 9•1 month ago
•
|
||
(In reply to Markus Stange [:mstange] from comment #8)
Fenix could always hide the bottom toolbar whenever the keyboard is visible. This is what Safari does. I think that would fix this testcase.
This is an interesting approach though I think we have always shown the bottom toolbar on top of the keyboard - users are used to this and it does help with security - knowing exactly where you're typing a password for example.
Also we'd be left with issues similar to bug 1916154.
Description
•