Yoopta-Editor icon indicating copy to clipboard operation
Yoopta-Editor copied to clipboard

[Example Request]: Focus input to reveal keyboard

Open bpmckee opened this issue 10 months ago • 2 comments

What's the example?

Hi, I have Yoopta in a webview for react native. I'm trying to get it so when I click after the editable area that it actually focuses the last block and brings up the keyboard for the user to start typing.

I've tried editor.focus(), setting a specific block to focus, and even tried selectionBoxRoot. The focus command seems to work but the keyboard isn't popping up and I don't see the typing indicator. Do you have any idea what I need to do?

It's also worth mentioning that autoFocus does not bring up the keyboard either.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

bpmckee avatar Jan 10 '25 03:01 bpmckee

Hmm 🤔

Darginec05 avatar Jan 13 '25 19:01 Darginec05

I have a similar issue with the editor.focus() method, it focuses on the editor but instead of moving the cursor to the last column on the last block, it goes to the first column on the first block, which is not useful at all.

dcodesdev avatar Feb 03 '25 15:02 dcodesdev