fix(web): prevent browser context menu over task menus (#1627)

This commit is contained in:
HouKangle authored and GitHub committed 2026-10-30 18:02:02 +08:00
1 parent c0b70d319d
commit 8719166dbf
9 files changed
+420 -1

No files matched your search

@@ -0,0 +1,5 @@
import 'dart:ui';
bool dispatchContextMenu(Offset position, int viewId) {
throw UnsupportedError('DOM contextmenu events require a browser');
}