ToggleIsOnProvider not working as expected
Feedback in forum:
I'm not sure but looks like there is quite unstable behaviour with DataProviders class.
I have settings popup with 2 toggles.
If I use old ToggleIsOnGetter - everything works as expected. when popup activated the value taken from the context and update toggle component accordingly. =
But if I use new ToggleIsOnProvider, context updated on the first popup activation immediately. The default value from popup toggle component override context value.So the idea here is that popup window deactivated by default and activated later after start and on activation children component context updaters override existing context values.
https://forum.unity.com/threads/released-data-bind-for-unity.298471/page-8#post-5873899
Comments (5)
-
reporter -
reporter There was no further info, so I close the issue.
-
reporter - changed status to resolved
-
reporter - changed status to invalid
-
reporter - removed milestone
Removing milestone: 1.19 (automated comment)
- Log in to comment
I created an example to test it, but it works for me as expected. Waiting now for feedback and adjustments to the example to reproduce the issue.