-
-
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
ItemList console error on click #2299
Comments
I can’t reproduce this in our demos with latest chrome/firefox/safari. Feel free to reopen with a reproducable demo. |
@philippkuehn just stumbled across the same while trying your demos. You can reproduce it by clicking any checkbox in the demo here: |
@philippkuehn thanks a lot for your prompt response! it's indeed Bitwarden... |
Still not sure why it only causes problems with this extension 🤷♂️ |
@philippkuehn it will probably happen with every interaction on an input that is in the within the editor itself because Bitwarden adds a |
Probably! Related: |
Yep, that's what I also found but unfortunately there doesn't seem to be an option to disable this behaviour. Even checked the code of the extension itself... Also |
The only thing you can do is to extend the taskItem extension and add a custom node view without native inputs. |
What’s the bug you are facing?
when using ItemList trying to click on the checkbox output an error in console
Uncaught RangeError: Index 1 out of range for <taskList(taskItem(paragraph))>
is there is a way to prevent this console output from happening ?
How can we reproduce the bug on our side?
just create a Itemlist and click on the checkbox (or just use the example in the docs, as outputs the same)
Can you provide a CodeSandbox?
No response
What did you expect to happen?
no the checkbox getting checked since docs say nothing about it, but at least no console error
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: