-
fix(linsight): tools dropdown rows use DropdownMenuItem for WebView-safe click
发布于
2026-07-22 06:08:20 +00:00 | 514 次提交 在此版本后已推送到 mainIn the WeCom desktop WebView, toggling a tool via the nested Radix Switch did
not fire on mouse click (pointer events mis-delivered), though keyboard worked.
Make each row a Radix DropdownMenuItem — selection then goes through the same
pointer+keyboard path as the working knowledge-space dropdown. onSelect
preventDefault keeps the menu open for multi-toggle; the Switch is now
display-only (pointer-events-none) so its own pointer handling is bypassed.
No visual change.下载附件