mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
e195309d55
That change mitigates the issue gio#150 and gio#166. The iOS can only `focus()` as a response to touchstart/click events. We can't `focus()` at random, without user interaction. The `w.requestFocus` will try to focus on the next `touchstart`, which may need some "double click" in some cases. That mitigates the issue, but doesn't fixes completely, but open the keyboard. (: I didn't notice any side-effect of that change on Android and on Windows. Signed-off-by: Inkeliz <inkeliz@inkeliz.com>