You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this is somehow related to the button that is being clicked on being removed, since the issue does not seem to occur if clicking on the button leaves the button as-is but causes a different widget to be replaced.
The text was updated successfully, but these errors were encountered:
Dretch
changed the title
UI not updating immediatly when the button that is clicked on is removed (bug?)
UI not updating immediately when the button that is clicked on is removed (bug?)
Dec 23, 2021
This is indeed a bug! It seems I never tested replacing the root element for a widget of a different type. All the applications and examples I created have a Container as the root, and this bug in Composite remained hidden. Just in case you want to test, you can replace:
buildUI wenv =\case
with
buildUI wenv = box .\case
and it will work as expected since it uses the box container as the root.
I pushed a PR fixing the bug in Composite, and your example should now work without changes. To test it, you need to modify your stack.yaml to use this specific commit:
Hello!
I think this is probably a bug -- it is certainly unexpected:
I have attached a modification of the hello-world starter that demonstrates the issue: monomer-ui-not-updating-issue.zip
I guess this is somehow related to the button that is being clicked on being removed, since the issue does not seem to occur if clicking on the button leaves the button as-is but causes a different widget to be replaced.
The text was updated successfully, but these errors were encountered: