Fix app menu opening at cursor position instead of button position on touch#2760
Fix app menu opening at cursor position instead of button position on touch#2760
Conversation
📊 Performance Test ResultsComparing 063a1c1 vs trunk site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
|
I tested this PR on a Windows machine with touch (Microsoft Surface), and menu is displayed in the correct position in all cases:
|
katinthehatsite
left a comment
There was a problem hiding this comment.
I don't have the right Windows device to test this but I wanted to mention that I tested on macOS and did not spot any regressions so far.
The fix makes sense but I will wait for maybe someone with the target device to give it another test.
I think we can just test on any Windows machine to check for regressions. I already tested that on one with touch and confirmed it works fine. |


Related issues
How AI was used in this PR
This PR was generated with Claude Code. I reviewed the code and the fix is correct.
Proposed Changes
x,y) tomenu.popup()so the context menu always opens anchored to the bottom-left of the button, regardless of where the touch/cursor landsTesting Instructions
Pre-merge Checklist