返回目录
模型与 MCP 插件

dsh-macos-tap-fix

lifwsp/dsh-macos-tap-fix

Workaround for WebKit Bug 219670: lost first Tap-to-Click on macOS with an input method, for DeepSeek Harness

Stars
0
Forks
0
Issues
0
更新
1 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:lifwsp/dsh-macos-tap-fix

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-macos-tap-fix

A small workaround plugin for DeepSeek Harness (dsh / dsh-tauri) on macOS.

Temporary. Remove it once the WebKit fix ships.

Symptom

On macOS, with an input method (e.g. Japanese, Chinese) active and an editable element focused (such as the chat input), the first Tap-to-Click on a button does nothing; a second tap is needed. Pressing the trackpad down, or using Firefox, works.

Cause

WebKit Bug 219670: the tap's mouseup can be delivered before its mousedown, so the click is lost. A fix is proposed in WebKit/WebKit#76581. It affects Safari and WKWebView apps, including dsh-tauri.

What this plugin does

Browser-side only, macOS only. When a mouseup arrives with no preceding mousedown, it waits 40 ms; if no click reached that element, it dispatches one, and ignores the late mousedown. Normal clicks are untouched.

Install

In your dsh profile's package.json, add the dependency and the bundle, then restart the app:

"dependencies": { "dsh-macos-tap-fix": "github:lifwsp/dsh-macos-tap-fix" },
"dsh": { "profile": { "bundles": ["dsh-macos-tap-fix"] } }

To remove: delete both entries and restart.

Caveats

  • It infers broken event order and synthesizes a click, so edge cases are possible. Use at your own risk.
  • Only verified by hand on macOS 26.5.1 with Google Japanese Input.
  • Plugins reload only after restarting the app.

MIT License

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。