-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Possibly related issues: #1941, #165
Describe the bug:
On Android, pressing backspace in an editable text entry widget deletes two characters.
To Reproduce:
- Clone this github repository
- Package for Android (
fyne package -os android) - Push to an android device, install, and run
- Select the text entry widget at the top of the screen
- Enter some text (e.g., "abcdefg")
- Press the keyboard's backspace (⌫) key
Two characters will be deleted. This happens from wherever in the string the cursor is, e.g. the end or the middle.
Example code:
Sample code is in a github repository. It is, essentially, a text entry widget with a list widget below. The text entry widget has an OnSubmitted lambda that prepends the text to the list. The behavior happens without the OnSubmitted closure as well.
Device (please complete the following information):
- OS: Android
- Version: Samsung One UI; Android 12. Built-in Samsung soft keyboard.
- Go version: 1.17.7
- Fyne version: v2.1.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working