#3803 [BUG] Fix visual subworkflow graph expansion
Issue created by
victorchurikovcommonground
Describe the bug
There is an issue with subworkflows expansion in graph when they are too big, about half the time they collapse like this:
Screen Shot 2023-06-26 at 14 19 37▾
This is how it looks when it occasionally succeeds:
Screen Shot 2023-06-26 at 14 20 39▾
This is how it looks before I expand it:
Screen Shot 2023-06-26 at 14 19 49▾
It alternates between the full and collapsed view rapidly before settling on one or the other after 2-3 seconds
Expected behavior
I expect the workflow to eventually settle on the full expanded view even if it takes a while to load it
Additional context to reproduce
1. Create a workflow
2. Call another workflow from your workflow (preferably a dynamic one so you can create many nodes quickly)
3. Observe that it rapidly switched between the collapsed and expanded view before settling on one of them
If you're not able to reproduce this with just these steps, note that each iteration of my dynamic for loop also has its own conditional with a (small) dynamic inside of it, maybe the issue is dynamic in dynamic, or conditionals in dynamics, not sure.
Screenshots
Screenshots attached in the bug description
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte