Closed FoHoOV closed 6 months ago
Something about the index handling in bind:this
seems off.
$inspect(boundParagraphs)
shows that removal of the first element results in [null, Paragraph]
rather than [Paragraph, null]
which is the expected result from the second element shifting into the first position.
When removing from the end the progression is correct:
[Paragraph, Paragraph]
=> [Paragraph, null]
=> [null, null]
Describe the bug
Create an keyed each block then bind a component to an array like this:
If you remove an element from the store
store.remove(...)
then theonclick
will call the wrongboundParagraph
. See this replReproduction
(text.id)
from each block)Logs
System Info
Severity
blocking an upgrade