Order views load and eliminating shadow embeds

When using embeds, how do you eliminate components from being drawn before they are switched to the intended view appearance the best?

I have some pages with embeds.
They have expressions to determine which widgets will populate the page.
Though it seems the pages load some unintended embeds before updating.

What is the appropriate manner and loading order such that a view opens with the correct embeds?

If I move configuration information to the component itself, it seems to fix it in some cases. I wondered if that is the best way, or if the startup script is the best way with a particular kind of sequence to it.

When something appears before a binding evaluates that indicates that it should not appear, the solution is usually tinkering with the "persistent" state of either its visibility/display and/or the state of the binding. If its visibility is set to persistent, you need to make sure that it is not visible in the view when you save the project.

1 Like