Skip to content
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

🐞 - Editor Component Freezes on Paste in 3.x Taiga #1625

Closed
good-gis opened this issue Dec 16, 2024 · 0 comments · Fixed by #1628
Closed

🐞 - Editor Component Freezes on Paste in 3.x Taiga #1625

good-gis opened this issue Dec 16, 2024 · 0 comments · Fixed by #1628

Comments

@good-gis
Copy link

good-gis commented Dec 16, 2024

Reproduction url

https://taiga-ui-v3.taiga.internal.ya-ruc1-dev1.dev.k8s.tcsbank.ru/components/editor

Description

Issue Description
The Editor component freezes when pasting large text. In Taiga v2.99.0 or 4.x, pasting the same text into the Editor works instantly.

Steps to Reproduce:

  1. Copy the provided text from the attached file. 1 (2).txt

  2. Navigate to the Editor component page in Taiga UI v3.

  3. Paste the text into the Editor.

Actual Result:
The code execution in the main thread takes 5-6 seconds, blocking the UI and making it unresponsive.
Image

Expected Result:
Pasting text should be as fast as in the Editor[new] component of Taiga UI v2.99.0 or Taiga 4.x, with a response time of less than 1 second.

Taiga UI version

3.x.x

Browser Used

Chrome

OS Used

macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant