Closed
Description
Checklist
- I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
- This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
Hello,
Since v2.4.0 GoBack action will forcefully close the app even if they keyboard is up.
How to reproduce
- Create an app with a textbox
- Select the textbox. The keyboard appears.
- Issue a back action
Expected:
The keyboard should collapse.
What happens:
The app exits.
Screenshots
No response
Example code
package main
import (
"log"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/widget"
)
func main() {
myApp := app.New()
myWindow := myApp.NewWindow("Entry Widget")
input := widget.NewEntry()
input.SetPlaceHolder("Enter text...")
content := container.NewVBox(input, widget.NewButton("Save", func() {
log.Println("Content was:", input.Text)
}))
myWindow.SetContent(content)
myWindow.ShowAndRun()
}
Fyne version
v2.4.0
Go compiler version
1.21.1
Operating system and version
Ubuntu 18.04 (compiling) / Android 10
Additional Information
No response
Activity