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 Nov 6, 2023
1 parent f124004 commit e144cad
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 e144cad

Please sign in to comment.