Component List doesn't scroll

Created on 6 September 2024, 3 months ago
Updated 9 September 2024, 2 months ago

Overview

After applying the fix from #3459249 📌 Allow opening the contextual menu by right clicking a component Needs work , which addressed the problem of opening a context menu on right-click, a new issue has emerged related to the handling of mouse wheel events.

In the previous fix, we introduced the following code snippet to handle zooming in and out on a canvas element when a modifier key (like `Ctrl`) is pressed, and to allow for canvas scrolling when the modifier key is not pressed.

With this change, the default mouse wheel scrolling behavior is always prevented unless a modifier key is pressed. This has caused a problem when a sidebar on the left is open:

- **No Scroll on Sidebar**: When the sidebar is open and the user tries to scroll using the mouse wheel, the sidebar does not scroll. This is because the event is being captured by the `handleWheel` function and prevented from propagating to the sidebar.

Proposed resolution

User interface changes

🐛 Bug report
Status

Fixed

Component

Page builder

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024