Skip to content

[TextArea] - Set cursor position with mouse click #2

@LauraAubin

Description

@LauraAubin

Parent: #1

Vertical

  • Capture y-axis from mouse click.
  • Determine which line has been clicked on. You can perform a calculation using the standardized CSS line-height property and using division with the current y-location.
  • Apply new lines \n for every missing line in the text area up to the cursor location. The cursor will be placed at the end of the last line.

Horizontal

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions