We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Fyne apps on mobile, you need to tap or click lower than you should.
Happens on real Android, emulated Android, and also in iOS simulator.
No response
package main import ( "net" "fyne.io/fyne/v2" "fyne.io/fyne/v2/app" "fyne.io/fyne/v2/dialog" "fyne.io/fyne/v2/driver/mobile" "fyne.io/fyne/v2/widget" ) func main() { a := app.New() w := a.NewWindow("Bugs") w.Resize(fyne.NewSize(640, 480)) w.SetContent(widget.NewMultiLineEntry()) connectAddress := widget.NewEntry() connectAddress.SetPlaceHolder("host:port") connectAddress.Validator = func(text string) error { _, _, err := net.SplitHostPort(text) return err } connectAddress.SetText(string([]byte{3, 2, 1, 65, 66, 67, ':', '1'})) connectAddress.TypedKey(&fyne.KeyEvent{Name: fyne.KeyPageDown}) var wConnect *dialog.FormDialog wConnect = dialog.NewForm("Connect to relay", "Connect", "Exit", []*widget.FormItem{ {Text: "Address:", Widget: connectAddress}, }, func(ok bool) { if ok { } else if _, ok := a.Driver().(mobile.Driver); ok { wConnect.Show() } else { a.Quit() } }, w) wConnect.Show() w.ShowAndRun() }
2.5.2
1.23.2
Android
The text was updated successfully, but these errors were encountered:
I didn't know this was intentional: a44331a
Any offset is wrong! Styluses exist. At most if you can decouple the mouse or stylus from touch events.
Sorry, something went wrong.
I agree with your summary. If the input device is a stylus we should not offset it. Feel free to adapt this issue or open a new one for that purpose.
No branches or pull requests
Checklist
Describe the bug
In Fyne apps on mobile, you need to tap or click lower than you should.
Happens on real Android, emulated Android, and also in iOS simulator.
How to reproduce
Screenshots
No response
Example code
Fyne version
2.5.2
Go compiler version
1.23.2
Operating system and version
Android
Additional Information
No response
The text was updated successfully, but these errors were encountered: