Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cluster opened this issue Aug 9, 2023 · 0 comments
Open

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

cluster opened this issue Aug 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@cluster
Copy link
Contributor

cluster commented Aug 9, 2023

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

@cluster cluster added the bug Something isn't working label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant