You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking the first delete button causes a client-side error:
index-6ddd8323.js:322 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'eventHandlers')
at applyOperation (index-6ddd8323.js:322)
at Object.applyPatch (index-6ddd8323.js:343)
at applyNonMutativePatch (server-d63eddfd.js:48)
at server-d63eddfd.js:32
at server-d63eddfd.js:575
If you place the ul element inside a div even more strange behaviors occur regardless of which button is clicked.
Having investigated a bit it appears related to two different issues:
Changing this line to self._event_handlers.pop(target, None) seems to fix things. With that said, I don't know why we're trying to delete the same event handler twice so it needs to be investigated more.
The text was updated successfully, but these errors were encountered:
The following example is deeply flawed even when running with
IDOM_FEATURE_INDEX_AS_DEFAULT_KEY=1
:Clicking the first delete button causes a client-side error:
If you place the
ul
element inside adiv
even more strange behaviors occur regardless of which button is clicked.Having investigated a bit it appears related to two different issues:
self._event_handlers.pop(target, None)
seems to fix things. With that said, I don't know why we're trying to delete the same event handler twice so it needs to be investigated more.The text was updated successfully, but these errors were encountered: