-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Canvas] Fixes embeddable out of sync in fullscreen mode #109945
Conversation
Pinging @elastic/kibana-presentation (Team:Presentation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
4878079
to
dfc6917
Compare
dfc6917
to
2a7e846
Compare
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Catherine Liu <[email protected]>
Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Catherine Liu <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Catherine Liu <[email protected]>
Summary
Closes #108807.
After interacting with an embeddable element in a Canvas workpad, switching to fullscreen mode or view mode would render an old version of the embeddable without all of the updates. This was due to a caching issue with resolved args in Canvas.
To fix the issue, this PR clears out the cached version of the embeddable from the resolved args in transient state on destroy, forcing the embeddable to re-evaluate the expression when switching from edit mode to view/fullscreen mode.
For maintainers