Deleting the first character of an object forces keyboard away

Use this template to make awesome bug reports:

Your username: RoadOcean

What browser are you using? Please paste your User Agent here:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
1 sentence description of the problem (I was doing _________, and then __________ happened):

Steps that the Hopscotch team can take to reproduce my problem every time:

  1. Create an object
  2. Erase the text
  3. Before you delete everything, the keyboard forces you out

I expected this to happen: normal

But instead this happened: forces keyboard out

Here’s a sweet screenshot:

2 Likes

This is more because it’s preventing you from making the name completely blank, so it cancels the edit.

1 Like

This behavior is due to the fact that the contenteditable element containing your text gets deleted when all of the text is deleted. To my knowledge, this is a side effect of the contenteditable attribute.

However, because the Hopscotch Team’s efforts are focused solely on the new web editor, this unfortunately will not be fixed as far as I am aware.


As a workaround, however, you can select all the text (with a double two-finger tap on the iPad keyboard) and typing over it, which replaces all text at once without having to make it empty first.

This is not intentional, as the reason for kicking you out is because the element gets deleted. However, it does get reverted to what it was before for precisely this reason

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.