feat(editor): Hide focus panel while node panel is open (no-changelog) (#17333)

This commit is contained in:
Daria
2025-07-15 18:35:49 +03:00
committed by GitHub
parent 8232d7f1d4
commit f888b3353b
3 changed files with 42 additions and 17 deletions

View File

@@ -62,6 +62,7 @@ const resolvedParameter = computed(() =>
);
const focusPanelActive = computed(() => focusPanelStore.focusPanelActive);
const focusPanelHidden = computed(() => focusPanelStore.focusPanelHidden);
const focusPanelWidth = computed(() => focusPanelStore.focusPanelWidth);
const isDisabled = computed(() => {
@@ -302,7 +303,7 @@ const onResizeThrottle = useThrottleFn(onResize, 10);
</script>
<template>
<div v-if="focusPanelActive" :class="$style.wrapper" @keydown.stop>
<div v-if="focusPanelActive" v-show="!focusPanelHidden" :class="$style.wrapper" @keydown.stop>
<N8nResizeWrapper
:width="focusPanelWidth"
:supported-directions="['left']"