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

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-08-08 21:49:21 +03:00
1 parent 688ef40e92
commit 592600c1bb
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);
},
);