~eliasnaur/gio#150: 
Mobile Web: Input events not bringing up a keyboard

In the kitchen example on IOS Safari the touch events now work.

The input events dont work. For example when the user types in the "Hint" area, no virtual keyboard comes up on the mobile.

Status
REPORTED
Submitter
~joe-getcouragenow
Assigned to
No-one
Submitted
2 months ago
Updated
6 days ago
Labels
No labels applied.

~eliasnaur 2 months ago

I never got mobile text input to work well. Perhaps you'll have better luck.

~joe-getcouragenow 2 months ago

:) well thanks for letting me know.

Any feelings about where the problem could be, before i start hunting for the source of the bug ?

~eliasnaur 2 months ago

On Sun Aug 2, 2020 at 04:58, ~joe-getcouragenow wrote:

:) well thanks for letting me know.

Sorry for leaving you with the pieces from this issue. Given the fundamental performance issues with the Wasm port, mobile support is a lower priority for me.

Any feelings about where the problem could be, before i start hunting for the source of the bug ?

Sure. The window driver is in os_js.go. Text input uses an invisible text , created here:

https://git.sr.ht/~eliasnaur/gio/tree/master/app/internal/window/os_js.go#L85

The ShowTextInput implementation attempts to gain focus,

https://git.sr.ht/~eliasnaur/gio/tree/master/app/internal/window/os_js.go#L399

but apparently fails on mobile.

~joe-getcouragenow 2 months ago

Its cool. I will have a look and post back here on progress, questions etc.

~eliasnaur closed duplicate ticket #166 6 days ago

Register here or Log in to comment, or comment via email.