quadratic
quadratic copied to clipboard
bug: rename table with sequential underscores moves cursor to end of string
Describe the bug
When you rename a table, either in the code editor header or in the table on the sheet, if you have multiple underscores sequentially and hit "space", it inserts another underscore and then moves the cursor position to the end.
https://github.com/user-attachments/assets/abfd7405-435e-41de-8868-b5e09cc7343a
https://github.com/user-attachments/assets/1597a47e-e659-4424-a967-31248fdea093
Expected behavior
The cursor position should never jump to the end. It should always stay where it was when a keypress is made.