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

Plate Editor text selection broken on Firefox when editor is in a @use-gesture/react > onDrag container #4144

Open
baptisteArno opened this issue Mar 5, 2025 · 0 comments
Labels
bug Something isn't working firefox

Comments

@baptisteArno
Copy link
Collaborator

baptisteArno commented Mar 5, 2025

Description

When the editor is contained in a element that has onDrag gesture from @use-gesture/react, the text selection is inconsistent on Firefox

Reproduction URL

https://stackblitz.com/edit/vitejs-vite-s7cbmfj6?file=src%2FApp.tsx

Reproduction steps

1. Select a part of the text more than one time, see the selection issue

Plate version

46.0.4

Slate React version

not specified

Screenshots

CleanShot.2025-03-05.at.12.13.37.mp4

Browsers

Firefox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working firefox
Projects
None yet
Development

No branches or pull requests

2 participants