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

[Bug]: Focus-Extension together with ReactNodeViewRenderer which uses white-space: pre cannot be clicked to focus if it scrolls #5135

Open
1 task done
Nantris opened this issue May 12, 2024 · 0 comments
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@Nantris
Copy link
Contributor

Nantris commented May 12, 2024

Affected Packages

core, focus-extension

Version(s)

2.1.14

Bug Description

The component re-renders and nothing happens upon the click, instead of the proper position being focused.

Note: The problem element must overflow on the X axis using white-space: pre

Browser Used

Chrome

Code Example URL

No response

Expected Behavior

Focus the clicked position. Decorations breaking ReactNodeViewRenderer is such a massive problem for TipTap actually living up to the promise of being able to use React in the editor. I hope this will be addressed.

Additional Context (Optional)

I cannot update our dependencies because other long-standing issues have not been addressed, preventing us from having any upgrade path.

Dependency Updates

  • Yes, I've updated all my dependencies.
@Nantris Nantris added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Triage open
Development

No branches or pull requests

1 participant