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

[PRO]: Performance Issues with Grammarly due to Drag Handle Extension #5959

Open
1 task done
andrewhoangg opened this issue Dec 24, 2024 · 0 comments
Open
1 task done
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@andrewhoangg
Copy link

Affected Packages

@tiptap-pro/extension-drag-handle

Version(s)

latest

Description of the Bug

When the Grammarly extension is enabled on our browser, the editor lags a lot when scrolling up and down after Grammarly scans the document.

The performance issues originate from Tiptap's drag-handle extension, which uses elementsFromPoint, which is extremely slow. Removing it fixes the lag spikes.

image

Browser Used

Chrome

Code Example (Preferred)

https://templates.tiptap.dev/fhBkrGQCqH

Expected Behavior

No lag when i scroll up and down in the editor with Grammarly suggestions active

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.
@andrewhoangg andrewhoangg added Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

1 participant