Skip to content

Textarea: slow pasting and lag during navigation with arrow keys #48

@cluster

Description

@cluster

Describe the problem you discovered

There are 2 issues with the textarea (for content and for smartcontract).

  • Pasting a long text can be very slow, so a "Paste" button has been added in the interface
  • Navigation through a long text with arrow keys becomes laggy (>60 lines)

The workaround provided in this PR somehow fixes the problem for the pasting.
But the source of both problems seems to come from a bug in the bubbletea lib, see
charmbracelet/bubbletea#794

Describe the solution you'd like

Follow up on the 2 issues mentioned in the discussion and update the bubbletea dependency when the PR are merged

Epic

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions