Skip to content
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

Update instance of CaptureController in ModifierNodeElement#update #146

Closed
PatilShreyas opened this issue Feb 25, 2024 · 1 comment · Fixed by #148
Closed

Update instance of CaptureController in ModifierNodeElement#update #146

PatilShreyas opened this issue Feb 25, 2024 · 1 comment · Fixed by #148
Labels
bug Something isn't working

Comments

@PatilShreyas
Copy link
Owner

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
Copy link
Owner Author

This has been fixed and released in v2.1.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant