Move component keyboard handler to allow it to function when bindings or state tabs are active
This commit is contained in:
parent
bdd1f765cc
commit
f4a10d4f63
|
@ -12,7 +12,6 @@
|
||||||
import ComponentTree from "./ComponentTree.svelte"
|
import ComponentTree from "./ComponentTree.svelte"
|
||||||
import { dndStore, DropPosition } from "./dndStore.js"
|
import { dndStore, DropPosition } from "./dndStore.js"
|
||||||
import DNDPositionIndicator from "./DNDPositionIndicator.svelte"
|
import DNDPositionIndicator from "./DNDPositionIndicator.svelte"
|
||||||
import ComponentKeyHandler from "./ComponentKeyHandler.svelte"
|
|
||||||
import ComponentScrollWrapper from "./ComponentScrollWrapper.svelte"
|
import ComponentScrollWrapper from "./ComponentScrollWrapper.svelte"
|
||||||
import getScreenContextMenuItems from "./getScreenContextMenuItems"
|
import getScreenContextMenuItems from "./getScreenContextMenuItems"
|
||||||
|
|
||||||
|
@ -136,7 +135,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
</ComponentScrollWrapper>
|
</ComponentScrollWrapper>
|
||||||
</div>
|
</div>
|
||||||
<ComponentKeyHandler />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
import { getHorizontalResizeActions } from "@/components/common/resizable"
|
import { getHorizontalResizeActions } from "@/components/common/resizable"
|
||||||
import { ActionButton } from "@budibase/bbui"
|
import { ActionButton } from "@budibase/bbui"
|
||||||
import BindingsPanel from "./BindingsPanel.svelte"
|
import BindingsPanel from "./BindingsPanel.svelte"
|
||||||
|
import ComponentKeyHandler from "./ComponentKeyHandler.svelte"
|
||||||
|
|
||||||
const [resizable, resizableHandle] = getHorizontalResizeActions()
|
const [resizable, resizableHandle] = getHorizontalResizeActions()
|
||||||
|
|
||||||
|
@ -42,6 +43,7 @@
|
||||||
<div class="dividerClickExtender" role="separator" use:resizableHandle />
|
<div class="dividerClickExtender" role="separator" use:resizableHandle />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<ComponentKeyHandler />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.panel {
|
.panel {
|
||||||
|
|
Loading…
Reference in New Issue