Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(editor): Fix mouse position in workflow previews (#7853)
This PR fixes mouse position detection in workflow previews (executions preview and workflow history view): https://github.com/n8n-io/n8n/assets/2598782/83237b76-b099-4560-9c47-a963f0848297 **Cause**: We were setting `isDemo` state in canvas store only when the `NodeView` component is activated, which never happens for `NodeView` instances that are kept alive (above mentioned workflow previews) **Fix**: This workflow updates store state also when the `NodeView` component is mounted.
- Loading branch information