ide icon indicating copy to clipboard operation
ide copied to clipboard

Cursor offset from actual position

Open AAshu1412 opened this issue 1 year ago • 2 comments

Screenshot 2024-05-27 190638

Screenshot 2024-05-27 190819

AAshu1412 avatar May 27 '24 13:05 AAshu1412

Others have also reported the same issue, however I am unable to reproduce the same on my setup.

Most probably it seems like an issue with the fonts width or css.

Attempting a fix

ankushKun avatar May 27 '24 13:05 ankushKun

Update: Located the issue, it is because of the editor not calculating (or miscalculating) the 'DM Mono' text width when the IDE loads for the first time. Which updates once you add a new cell, the cells rerender and recalculate the width.

As a temporary fix I've reverted to using default monospaced font in 643e391

ankushKun avatar May 27 '24 14:05 ankushKun