Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5059,7 +5059,14 @@ extension BrowserViewController: KeyboardHelperDelegate {
// When animation duration is zero the keyboard is already showing and we don't need
// to update the toolbar again. This is the case when we are moving between fields in a form.
if state.animationDuration > 0 {
updateToolbarDisplay()
// Use performWithoutAnimation to prevent the keyboard's animation context
// from leaking into updateToolbarDisplay. Without this, the keyboard's
// animation curve captures property changes on the status bar overlay and
// blur views, causing a visible left-to-right fill artifact with UIGlassEffect
// on iOS 26+. (See: https://github.com/nickmilo/firefox-ios/issues/32283)
Copy link
Copy Markdown
Contributor

@yoanarios yoanarios Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: The link leads to a page not found 404 so I suggest to remove it

Suggested change
// on iOS 26+. (See: https://github.com/nickmilo/firefox-ios/issues/32283)
// on iOS 26+.

UIView.performWithoutAnimation {
self.updateToolbarDisplay()
}
}
} else {
updateToolbarDisplay()
Expand Down Expand Up @@ -5094,8 +5101,11 @@ extension BrowserViewController: KeyboardHelperDelegate {

cancelEditingMode()
if isToolbarTranslucencyRefactorEnabled {
updateBlurViews()
addOrUpdateMaskViewIfNeeded()
// Prevent keyboard animation context leak (same as keyboardWillShow fix)
UIView.performWithoutAnimation {
self.updateBlurViews()
self.addOrUpdateMaskViewIfNeeded()
}
} else {
updateToolbarDisplay()
}
Expand Down
Loading