Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android - Entry - OnSubmitted is not working #3267

Closed
2 tasks done
piotrowski opened this issue Sep 17, 2022 · 1 comment
Closed
2 tasks done

Android - Entry - OnSubmitted is not working #3267

piotrowski opened this issue Sep 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@piotrowski
Copy link
Contributor

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

OnSubbmited event is not firing when pressing Enter key on Android keyboard

Keyboard image:
image

How to reproduce

  1. Run code on Android
  2. Press Enter
  3. Nothing happens (no logs in logcat for example)

Screenshots

No response

Example code

func main() {
	a := app.NewWithID("example")

	w := a.NewWindow("example")
	cntr := widget.NewEntry()
	cntr.OnSubmitted = func(s string) {
		fmt.Println("SUBMITTED: ", s)
	}

	w.SetContent(cntr)

	w.Resize(fyne.NewSize(640, 480))
	w.ShowAndRun()
}

Fyne version

2.2.3 and also develop

Go compiler version

go1.18 linux/amd64

Operating system

Android

Operating system version

Lineage OS

Additional Information

No response

@piotrowski piotrowski added the unverified A bug that has been reported but not verified label Sep 17, 2022
@andydotxyz andydotxyz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Oct 4, 2022
andydotxyz added a commit that referenced this issue Oct 21, 2022
…n-subbmited-is-not-working

Fix #3267 android entry on submitted is not working
@andydotxyz
Copy link
Member

On develop for next release, thanks so much @apiotrowski312

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants