mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-04 06:11:28 +09:00
fix: fix bindings panel placement (#4640)
## Description Accidentally positioned on the right instead of left Also fixes shfit+P and shift+E when pressed in the inputs https://github.com/webstudio-is/webstudio-community/discussions/208 https://github.com/webstudio-is/webstudio/issues/4638 ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
This commit is contained in:
1 parent
1670ea5e9b
commit
21a97fb238
2 files changed
+5
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user