diff --git a/widget/entry.go b/widget/entry.go index 15629c48e7..0e1f9e947c 100644 --- a/widget/entry.go +++ b/widget/entry.go @@ -312,6 +312,11 @@ func (e *Entry) FocusGained() { // // Implements: fyne.Focusable func (e *Entry) FocusLost() { + // be extra sure we won't "leak" cursor animations + if e.cursorAnim != nil { + e.cursorAnim.stop() + } + e.setFieldsAndRefresh(func() { e.focused = false e.selectKeyDown = false