Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: fix bindings panel placement (#4640)

Oleg Isonen21a97fb23804
diff --git a/apps/builder/app/builder/shared/binding-popover.tsx b/apps/builder/app/builder/shared/binding-popover.tsx
index 43c8be5fc6..8bc912b42b 100644
--- a/apps/builder/app/builder/shared/binding-popover.tsx
+++ b/apps/builder/app/builder/shared/binding-popover.tsx
@@ -367,7 +367,7 @@ export const BindingPopover = ({
const valueError = validate?.(evaluateExpressionWithinScope(value, scope));
return (
<FloatingPanel
- placement="right-start"
+ placement="left-start"
open={isOpen}
onOpenChange={(newOpen) => {
// handle special case for popover close
diff --git a/apps/builder/app/builder/shared/commands.ts b/apps/builder/app/builder/shared/commands.ts
index 85521775bd..66d6369ad3 100644
--- a/apps/builder/app/builder/shared/commands.ts
+++ b/apps/builder/app/builder/shared/commands.ts
@@ -299,6 +299,8 @@ export const { emitCommand, subscribeCommands } = createCommandsEmitter({
handler: () => {
$publishDialog.set("publish");
},
+ disableHotkeyOnFormTags: true,
+ disableHotkeyOnContentEditable: true,
},
{
name: "openExportDialog",
@@ -306,6 +308,8 @@ export const { emitCommand, subscribeCommands } = createCommandsEmitter({
handler: () => {
$publishDialog.set("export");
},
+ disableHotkeyOnFormTags: true,
+ disableHotkeyOnContentEditable: true,
},
{
name: "toggleComponentsPanel",