[PRO]: Performance Issues with Grammarly due to Drag Handle Extension #5959
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
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.
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
The text was updated successfully, but these errors were encountered: