Skip to content

apps/ui: Disable the default tldraw context menu on the desk canvas#3411

Merged
youknowriad merged 2 commits into
trunkfrom
codex/disable-rightclick-menu
May 9, 2026
Merged

apps/ui: Disable the default tldraw context menu on the desk canvas#3411
youknowriad merged 2 commits into
trunkfrom
codex/disable-rightclick-menu

Conversation

@youknowriad
Copy link
Copy Markdown
Contributor

Summary

  • Disable tldraw’s built-in context menu in the desk canvas
  • Prevent the browser’s native right-click menu on the canvas wrapper
  • Keep the change scoped to the desk experience only

Testing

  • Lint and formatting passed for the updated canvas file
  • Typecheck passed
  • Relevant tldraw adapter tests passed locally

@youknowriad youknowriad changed the title Disable the default tldraw context menu on the desk canvas apps/ui: Disable the default tldraw context menu on the desk canvas May 9, 2026
@wpmobilebot
Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 35b9e9f vs trunk

app-size

Metric trunk 35b9e9f Diff Change
App Size (Mac) 1408.80 MB 1408.80 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 35b9e9f Diff Change
load 1465 ms 1490 ms +25 ms ⚪ 0.0%

site-startup

Metric trunk 35b9e9f Diff Change
siteCreation 8083 ms 8087 ms +4 ms ⚪ 0.0%
siteStartup 4930 ms 4942 ms +12 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@youknowriad youknowriad merged commit 3561989 into trunk May 9, 2026
9 of 10 checks passed
@youknowriad youknowriad deleted the codex/disable-rightclick-menu branch May 9, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants