Find a better way to close the Radix context/right click menu

Created on 14 February 2025, 23 days ago

Overview

At the moment if a user right clicks a component and then performs another UI action (like zooming the canvas, or adding a new component to the layout) we force the context menu to close to ensure it doesn't get misaligned as the page beneath it shifts.

To close the context menu we fire a 'faked' escape key press event as that was the simplest way to close the context menu.

This causes an issue though with Dialogs - because they ALSO close when the esc key event is fired and we don't want that!

Proposed resolution

Find a better way to programatically close the context menu (without also closing dialogs!) There are two @todo's with this issue's id in them that should be addressed in the codebase.

User interface changes

📌 Task
Status

Active

Version

0.0

Component

Page builder

Created by

🇬🇧United Kingdom jessebaker

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