Code Editor Cursor Jumps/Deletes Characters Intermittently

Hi Community,

I am experiencing an issue with the code editor within components (Script Editor). While actively typing code, the cursor frequently starts jumping automatically, deleting characters, or inserting unwanted newlines. This makes effective coding nearly impossible.

Additional info:

  1. Retool Version:** (Cloud - 3.312.0)
  2. Browser: (Brave 1.84.141 arm64 Chromium: 142.0.7444.176)
  3. Operating System: (macOS Sonoma)
  4. Does the issue persist in Incognito Mode? Yes

Has anyone else encountered this exact issue?

Thank you in advance for any insights!

2 Likes

Hey @Mateusz,

Just to add my 2 cents, there's this very long thread on this topic here:

I can confirm that this happens to my a lot, but exclusively when writing code in the event handlers within components (same as your video). Doesn't happen at all (or almost never) elsewhere.

3 Likes

I too feel the UI is every day less reliable for effective coding. Just my humble suggestion: it should be important to make sure that nothing disturbs code writing. What ever internal process is triggered it should never disturb coding. This is a low code platform but this only makes the little code that’s needed even more important. If the input field suddenly creates a new line, or a space, or it looses focus, it makes coding very ineffective.

Hey Mateusz,

Thanks for reporting this on the Retool community forum.

:white_check_mark: I was able to reproduce this in my own testing via what appears to be most modal pop-ups for code editing. I began typing, did auto-completes, delete a few characters, etc more auto-complete, and the cursor would jump around a good bit.

:beetle: We have an internal bug on this which was linked for the original Community thread that Miguel shared as well. I went ahead and added you and your team as a +1 on it and even myself as I was able to reproduce this on the latest Cloud version too.

:police_car_light: The bug is marked as high so hopefully we get some progress or a fix on this soon. Let me know if you have any other specific steps or situations where it always occurs and I can reproduce this to the team.

Regards,
John | Retool Support

1 Like