Update instance of `CaptureController` in ModifierNodeElement#update
Closed this issue · 1 comments
PatilShreyas commented
ModifierNodeElement#update
is called when a modifier is applied to a Layout whose inputs have changed from the previous application. This function will have the current node instance passed in as a parameter, and it is expected that the node will be brought up to date. So if across recompositions, if an instance of CaptureController
is changed then all capture requests will be lost.
PatilShreyas commented
This has been fixed and released in v2.1.0 🚀