Skip to content

Conversation

@Myestery
Copy link
Collaborator

@Myestery Myestery commented Sep 26, 2025

This pull request updates event handling in the selection toolbox components to ensure that mouse wheel events are properly forwarded to the canvas, improving interaction consistency across the UI.

Event handling improvements:

  • Changed the wheel event handler in SelectionToolbox.vue to use canvasInteractions.forwardEventToCanvas instead of canvasInteractions.handleWheel, ensuring wheel events are consistently forwarded to the canvas.
  • Added the wheel event handler to the MoreOptions.vue popover, forwarding wheel events to the canvas for submenu interactions.

Code organization updates:

  • Imported useCanvasInteractions in MoreOptions.vue to access the new event forwarding method.
  • Instantiated canvasInteractions in MoreOptions.vue for use in event handling.## Summary
Screen.Recording.2025-09-26.at.01.21.00.mov

┆Issue is synchronized with this Notion page by Unito

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Sep 26, 2025
@github-actions
Copy link

github-actions bot commented Sep 26, 2025

🎭 Playwright Test Results

⚠️ Tests passed with flaky tests

⏰ Completed at: 09/26/2025, 12:44:58 AM UTC

📈 Summary

  • Total Tests: 462
  • Passed: 431 ✅
  • Failed: 0
  • Flaky: 2 ⚠️
  • Skipped: 29 ⏭️

📊 Test Reports by Browser

  • chromium: View Report • ✅ 424 / ❌ 0 / ⚠️ 2 / ⏭️ 29
  • chromium-2x: View Report • ✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • chromium-0.5x: View Report • ✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0
  • mobile-chrome: View Report • ✅ 4 / ❌ 0 / ⚠️ 0 / ⏭️ 0

🎉 Click on the links above to view detailed test results for each browser configuration.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Sep 26, 2025
@christian-byrne christian-byrne merged commit 6a70152 into main Sep 26, 2025
25 checks passed
@christian-byrne christian-byrne deleted the wheel-toolbox branch September 26, 2025 03:51
christian-byrne pushed a commit that referenced this pull request Sep 27, 2025
This pull request updates event handling in the selection toolbox
components to ensure that mouse wheel events are properly forwarded to
the canvas, improving interaction consistency across the UI.

**Event handling improvements:**

* Changed the wheel event handler in `SelectionToolbox.vue` to use
`canvasInteractions.forwardEventToCanvas` instead of
`canvasInteractions.handleWheel`, ensuring wheel events are consistently
forwarded to the canvas.
* Added the wheel event handler to the `MoreOptions.vue` popover,
forwarding wheel events to the canvas for submenu interactions.

**Code organization updates:**

* Imported `useCanvasInteractions` in `MoreOptions.vue` to access the
new event forwarding method.
* Instantiated `canvasInteractions` in `MoreOptions.vue` for use in
event handling.## Summary


https://github.com/user-attachments/assets/46046086-35e8-4cd1-a11a-365705beb9cd

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5781-Wheel-Selection-Toolbox-and-Popover-27a6d73d3650812c9c4fe8440ff7dd1d)
by [Unito](https://www.unito.io)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants