Skip to content

Commit

Permalink
Merge pull request fyne-io#4107 from andydotxyz/fix/3684
Browse files Browse the repository at this point in the history
Fix hang when re-using select widget in a collection widget
  • Loading branch information
andydotxyz authored Aug 2, 2023
2 parents c66a184 + 1025b9b commit a3d63a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions widget/select.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ func (s *Select) showPopUp() {
s.popUp.alignment = s.Alignment
s.popUp.ShowAtPosition(s.popUpPos())
s.popUp.Resize(fyne.NewSize(s.Size().Width, s.popUp.MinSize().Height))
s.popUp.OnDismiss = func() {
s.popUp.Hide()
s.popUp = nil
}
}

func (s *Select) tapAnimation() {
Expand Down

0 comments on commit a3d63a1

Please sign in to comment.