Customized user scripts/stylesheets: iPhone fixes
This commit is contained in:
@@ -120,7 +120,7 @@ class BrowserView: UIView
|
||||
// Compact: toolbar is at the bottom
|
||||
if traitCollection.horizontalSizeClass == .compact {
|
||||
var bottomOffset: CGFloat = 0.0
|
||||
if keyboardLayoutOffset == 0 {
|
||||
if keyboardLayoutOffset < CGFloat.leastNonzeroMagnitude {
|
||||
toolbarSize.height += safeAreaInsets.bottom
|
||||
} else if toolbarView.urlBar?.textField.isFirstResponder ?? false {
|
||||
bottomOffset = keyboardLayoutOffset
|
||||
|
||||
Reference in New Issue
Block a user