SOLVED: Code editor pointer/cursor issue

Bricks Version: 1.4
Browser : Chrome
OS : Windows 10

Hi,

When I click for the first time inside the code editor after having selected it, cursor doesn’t show at the right place (pointer position), it can even be out of the code itself, in the (normally unaccessible) empty space below or on the right of the code.

Then, when I start typing, text doesn’t even appear at (wrong) cursor position, but in another new random place in the code!

(NOTE: Strangely, in the video, we can’t see the mouse pointer in code editor, but I clicked on the line below the first cursor appearance.)

Hot fix: Type one letter first only, delete with BACKSPACE, then startover at the right place.

(I noticed that sometimes CTRL-A before first key stroke could solve the issue, but not always.)

This is definitely the most annoying bug in Bricks ever.

3 Likes

Hi Yan,
Thanks so much for your report!

I was able to reproduce the issue and added it to our bug tracker. The problem has been with us for a while and I agree that it is one of the most annoying bugs (at least for those who regularly use the code element).

Best regards,
timmse

1 Like

Fixed in Bricks 1.5beta :raised_hands:
Please let us know if you still encounter any problems.

Best regards,
timmse