-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix(editor): Fix canvas panning using Control
+ Left Mouse Button
on Windows
#12104
fix(editor): Fix canvas panning using Control
+ Left Mouse Button
on Windows
#12104
Conversation
@@ -642,7 +644,7 @@ provide(CanvasKey, { | |||
@connect="onConnect" | |||
@connect-end="onConnectEnd" | |||
@pane-click="onClickPane" | |||
@contextmenu="onOpenContextMenu" | |||
@pane-context-menu="onOpenContextMenu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New event name after update
@@ -147,10 +147,12 @@ const selectionKeyCode = ref<true | null>(true); | |||
|
|||
onKeyDown(panningKeyCode.value, () => { | |||
selectionKeyCode.value = null; | |||
panningMouseButton.value = [0, 1]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0
- Left mouse button
1
- Middle mouse button
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
|
n8n Run #8256
Run Properties:
|
Project |
n8n
|
Branch Review |
cat-339-community-issue-new-canvas-issue-not-able-to-move-canvas-2
|
Run status |
Passed #8256
|
Run duration | 04m 37s |
Commit |
2f7365ac54: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 alexgrozav 🗃️ e2e/*
|
Committer | Alex Grozav |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
480
|
View all changes introduced in this branch ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
Summary
Screen.Recording.2024-12-09.at.14.29.03.mov
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/CAT-339/community-issue-new-canvas-issue-not-able-to-move-canvas-using
#11755
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)