Typically, mobile keyboards close when you click 'outside',
but Gio does not handle this automatically. You can create a
new clip.Rect and listen for clicksqtouches. Then, use
op.SoftKeyboardOp{Show: false}.Add(...) to close the keyboard.
--
Lucas Rodrigues
inkeliz@inkeliz.com
On Sun, Jan 14, 2024, at 6:30 AM, kennedy@dreacotgroup.com wrote:
> The editor doesn't seem to support disappearing keyboard on mobile, so > when we focus on the Editor, the keyboard shows and there is no way to > hide it
On Sun, 14 Jan 2024 at 10:34, <kennedy@dreacotgroup.com> wrote:
>> The editor doesn't seem to support disappearing keyboard on mobile, so> when we focus on the Editor, the keyboard shows and there is no way to> hide it
Is this Android or iOS? On Android the back button usually hides the keyboard
if it's shown, but I'm actually not sure what the expected behavior is on iOS.
Elias
> The editor doesn't seem to support disappearing keyboard on mobile, so> when we focus on the Editor, the keyboard shows and there is no way to> hide it
Hmm, doesn't the OS provide a means to hide the keyboard? I guess I
can only speak for my version of android, but I have a button for it.
If not, you could modify the application to dismiss the keyboard when
the editor loses focus.