Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Cursor offset from actual position #9

Description

@AAshu1412

Screenshot 2024-05-27 190638

Screenshot 2024-05-27 190819

Activity

  1. changed the title [-]Cursor offset from different position[/-] [+]Cursor offset from actual position[/+] on May 27, 2024
  2. ankushKun commented on May 27, 2024

    @ankushKun
    Collaborator

    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

  3. ankushKun commented on May 27, 2024

    @ankushKun
    Collaborator

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions