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

Commit

Permalink
Fix #8364: Add missing footer constraint when bottom toolbar is hidden (
Browse files Browse the repository at this point in the history
#8367)

Missing this constraint would cause the web view container view to have ambiguous height and result in a 0-height web page.
  • Loading branch information
kylehickinson committed Nov 7, 2023
1 parent ea41c5e commit bc216b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Brave/Frontend/Browser/BrowserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,9 @@ public class BrowserViewController: UIViewController {
footer.snp.remakeConstraints { make in
make.bottom.equalTo(toolbarLayoutGuide)
make.leading.trailing.equalTo(self.view)
if toolbar == nil {
make.height.equalTo(0)
}
}

bottomBarKeyboardBackground.snp.remakeConstraints {
Expand Down

0 comments on commit bc216b9

Please sign in to comment.