
The insertion point is at the end of the line, but the blinking I beam is misplaced.
If I press left-arrow I get this

If I move earlier in the line but still in the comment, it's positioned correctly, until I type

If I change the property to one that doesn't have the colour swatch then everything works normally.