-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Slow input typing if dragglable is true #264
Comments
@philippkuehn What exactly does this part of the code? https://github.com/scrumpy/tiptap/blob/0e59e0cc0c2b4f0be5c46ebf2a698c674bfda821/packages/tiptap/src/Utils/ComponentView.js#L103-L107 Because if it returns false the component no longer gets destroyed on each prop change. Maybe implement a check like this? // prevent a full re-render of the vue component on update
// we'll handle prop updates in `update()`
ignoreMutation() {
return !(this.editable && this.extension.schema.draggable)
} |
I'm not sure what's the difference between your sandbox and this embed example. Even if I set @Chrissi2812 It's not a good idea to change the behavior of |
In the newer versions with "stopEvent()" is possible to control this behavior. |
Can confirm that with 1.17.0 this works without much problems. |
Please reopen if this issue is still present. |
Hi,
There is one problem if you insert an input field inside get view() and type something
https://codesandbox.io/s/qvn50vv964
(click youtube video and type in the field)
This problem dont occurs with draggable false
Seemsn this happens cause the editor need to update.
The text was updated successfully, but these errors were encountered: