Fix focus not switching to new cluster frame (#5995)

(cherry picked from commit 592600c1bb)
This commit is contained in:
Sebastian Malton authored and Janne Savolainen committed 2022-08-09 10:20:18 +03:00
1 parent 0711156b75
commit 2b0d4a6d38
1 file changed
+1
@@ -115,6 +115,7 @@ export class ClusterFrameHandler {
(view: LensView) => {
logger.info(`[LENS-VIEW]: cluster id=${clusterId} should now be visible`);
view.frame.classList.remove("hidden");
view.frame.focus();
ipcRenderer.send(clusterVisibilityHandler, clusterId);
},
);