Closed marcalexiei closed 5 years ago
This should now be fixed on edge. I'll wait on feedback for #3295 and backport to 1.1, 1.2, and 1.3 and publish.
When travis gets done churning, 1.1.3, 1.2.2, and 1.3.1 should be out with this fix. 1.3.1 also has Ractive.tick
, which is flagged as experimental in the changelog.
Description:
Partial dynamic rendering doesn't behave in the same way as static. Sometimes dynamic rendered partial ignores passed
context
using the one where it is rendered.Background of the issue
In our application we have a table with headings / column that change dynamically based on external factors. On first render everything works correctly but when changing the partial list, which is a computed property, the partials are rendered with the wrong context.
Versions affected:
Platforms affected:
All, tested on Chrome
Reproduction:
JSFiddle