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 Jan 12, 2024
1 parent ade0417 commit 9cf35c2
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 9cf35c2

Please sign in to comment.