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
After inserting / deleting an action under a nested action type (IfCondition, SwitchCondition, Foreach), Visual Editor will be rendered twice (flickering).
Version
Browser
Chrome
Safari
Firefox
Edge
OS
macOS
Windows
Ubuntu
To Reproduce
Steps to reproduce the behavior:
Create a IfCondition node
Create a nested IfCondition node under the true branch
Insert some nodes / delete some nodes under the nested true branch
Expected behavior
Screenshots
Additional context
The text was updated successfully, but these errors were encountered:
yeze322
changed the title
Visual Editor flickering issue in nested flow
Visual Editor flickering issue in nested flow when deleting / inserting
Mar 5, 2020
This issue is introduced by a latest feature PR #2005 .
In that PR, visual editor storaged all nodes' sizes into a global cache to avoid frequently re-computation of element sizes. It did help us having a stable layout.
However, with that cache mechanism, when user deleting / inserting a leaf node, parent nodes' sizes will still be loaded from cache instead of recalculating the size, it makes the layouter consumes an outdated size, then deletion/insertion of any nested node will cause flickering issue.
Describe the bug
After inserting / deleting an action under a nested action type (IfCondition, SwitchCondition, Foreach), Visual Editor will be rendered twice (flickering).
Version
Browser
OS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: