<x-contextmenu>Suggestions on optimization
gjcfer opened this issue · 2 comments
gjcfer commented
"<x-contextmenu>
is a menu that appears when user clicks the right mouse button.”
Experience problems:Repeated clicking at the same position will reopen the menu, and the right-click menu will flash
Possible expectations:Click at the same location not to reopen
Expected results may:Will update native
jarek-foksa commented
I think Xel should mimic native macOS behavior here, i.e. when the context menu is already open then right-clicking should either close the menu (if the cursor has not moved) or reopen the menu at a new position (if the cursor has moved).
gjcfer commented
OK。 I refer to the effect of the window system