Text appears as double/overlaid in text bubble, when entering a new line

I was investigating this. So in Hopscotch, there is a bubble that appears over whichever parameter/field you are editing. (It is called a ‘field editor’ — some other apps use this too)

The field editor was adding ... to text, rather than just displaying the first line of the bubble underneath.

For this text:


the bubble underneath is showing hello while the field editor is showing hello w... So that was contributing to the double effect.

(You can see the field editor with the teal outline and transparent background, in front, in this ‘3D’ view of the editor)