Skip to content

Commit

Permalink
temporary fix for fyne-io/issues/4374
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed May 24, 2024
1 parent a07a06b commit 39dc267
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions widget/popup.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ type PopUp struct {
// Hide this widget, if it was previously visible
func (p *PopUp) Hide() {
if p.overlayShown {
// Temporary fix for #4374
// TODO: remove when proper fix is in
p.Canvas.Unfocus()

p.Canvas.Overlays().Remove(p)
p.overlayShown = false
}
Expand Down

0 comments on commit 39dc267

Please sign in to comment.