Cursor jumps to end of string when adding/deleting newlines

1 sentence description of the problem: I was editing some text, went to create a new line and waited to think of something to type, then the cursor unexpectedly jumped to the very end.

Steps to reproduce the problem every time:
(Start in a blank draft if possible)

  1. Create at least 2 lines of text
  2. Set the cursor to the end of the first line and press the ENTER key on your keyboard.
  3. Wait for the text to update

I expected this to happen: The cursor to stay where it was

But instead this happened: The cursor moved to the absolute end of the string

Screenshots/video:

(Include project link if relevant)


Your username: Crosbyman64

Device type, iOS version: iPad13,8, iPadOS 16.3.1

Hopscotch version & player version: HS: 3.63.0, Player: N/A (this happens on projects with any player version. Tested on player 2.2.2)
(you can go to :gear: > “About”, and take a screenshot)

Extras:

  • Deleting a line by tapping BACKSPACE with the cursor on a blank line will also cause the cursor to jump to the end of the string when the text updates.
  • If you continue typing after creating the new line, the bug will not occur. So it seems to only occur after the last action before the text updates was a addition/removal of a new-line.
5 Likes

Just included this here, thanks for letting us know about it^^

3 Likes

Oh yeah, that’s what this topic is about:

3 Likes

Ah sorry for the duplicate – I just merged them now.

3 Likes

this has been happening to me with any form
of input into a set text block too - the block’s text updates, the keyboard resets if you’re in the symbols or emoji menu, and it seems to happen with any input i put in, even if there isn’t a new line.
the cursor doesn’t move though, strange.

5 Likes

hopscotch actually resets keyboard on save, which is why you have this and it’s extremely annoying

5 Likes

Especially if you started on the iOS keyboard and only entered numbers. And before you say “Why didn’t you just use the HS keypad?,” Some people might’ve had plans to add a letter after their numbers…

4 Likes

why would i ask that lol
the question id rather ask is why in the world does a save action resets keyboard

3 Likes