Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Bug 1885399 - Fix clipping behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mike a authored and mergify[bot] committed Mar 14, 2024
1 parent 8a69a9a commit 372ab25
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1287,13 +1287,14 @@ abstract class BaseBrowserFragment :
ToolbarPosition.BOTTOM -> OldToolbarPosition.BOTTOM
ToolbarPosition.TOP -> OldToolbarPosition.TOP
}
OldEngineViewClippingBehavior(
context,
null,
getSwipeRefreshLayout(),
toolbarHeight,
toolbarPosition,
)
(getSwipeRefreshLayout().layoutParams as CoordinatorLayout.LayoutParams).behavior =
OldEngineViewClippingBehavior(
context,
null,
getSwipeRefreshLayout(),
toolbarHeight,
toolbarPosition,
)
}
} else {
// Ensure webpage's bottom elements are aligned to the very bottom of the engineView.
Expand Down

0 comments on commit 372ab25

Please sign in to comment.