Skip to content

#3548320 Follow-up for #3541037: Contextual panel flickers when linking prop to field

Closes #3548320

Linking a prop to a field is very heavily involved (Redux slice, Drupal cache, etc) and currently requires a full form reload. So it was implemented in a way where the component gets deselected then all the updating is performed, then re-selected again. This ensures we don't have any stale data. But doing that caused a UI effect where the contextual panel would disappear since no component was selected.

This MR adds a flag to not hide the panel while the form is doing a full reload.

Ideally we could link a prop to a field without requiring a full form reload if it's possible but for now this improves what is currently in 1.x.

Before: Panel disappears then reappears

flicker.gif

After: Panel remains

flicker-fix.gif

Edited by Harumi Jang

Merge request reports

Loading