You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
Seen on mozilla-mobile/fenix#16386.
Following Hiro's hint about vertical clipping from Bugzilla I added some indicators on screen to easily verify the vertical clipping value and saw that the Float.toInt() from here which floors the value everytime leads to a bug in which we might set an off by 1 vertical clipping value.
ToolbarTranslationAndVerticalClipping1.mp4
In the above video it's seen that
when we set vertical clipping to be 154 the dynamic website element is shown at the very bottom
when we set vertical clipping to be 153 (although the toolbar translation is >153.5) the dynamic website element is shown above the normal height of the toolbar.
The solution here seems to be using Float.rountToInt which would give us
…on and vertical clipping
Just for debugging.
The values are set as close to where they're used as possible and allow us to
follow them in real time based on the on-screen gestures or to verify the end
value is the expected one.
Seen on mozilla-mobile/fenix#16386.
Following Hiro's hint about vertical clipping from Bugzilla I added some indicators on screen to easily verify the vertical clipping value and saw that the
Float.toInt()
from here which floors the value everytime leads to a bug in which we might set an off by 1 vertical clipping value.ToolbarTranslationAndVerticalClipping1.mp4
In the above video it's seen that
The solution here seems to be using Float.rountToInt which would give us
ToolbarTranslationAndVerticalClipping2.mp4
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: