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
When the rawDuplicateElement action is used, there's an element selection that happens in a setTimeout at the end. It's mostly a hacky workaround to wait for aeroelastic to update, and seems really prone to race conditions.
I want to circle back to this one, the element in aeroelastic is not present yet if done synchronously, so it can't select (pasting will create a new group, naturally with a new id). So the purpose is to switch selection to the newly pasted thing, even if it's a group. I think it's due to the fact that cloning is done outside aero but selection is in good part, inside (eg. to activate the resize frame). I'm sometimes thinking about a different synchronization between aero and the Redux actions / thunks, it got fairly convoluted. Something I'm planning to touch on on our Jan 10 discussion on the layout engine.
The text was updated successfully, but these errors were encountered:
Kibana version: 6.6+
Describe the bug:
Pulled from this comment on #25854.
When the
rawDuplicateElement
action is used, there's an element selection that happens in asetTimeout
at the end. It's mostly a hacky workaround to wait for aeroelastic to update, and seems really prone to race conditions.From @monfera:
The text was updated successfully, but these errors were encountered: