Skip to content

fix(webkit): bridge mouse clicks to touch events in MSCWebView mscfile pages - #272

Open
Rengwang wants to merge 1 commit into
PlayCover:masterfrom
Rengwang:pr/fix-msc-webview-mouse-touch-bridge
Open

Rengwang wants to merge 1 commit into
PlayCover:masterfrom
Rengwang:pr/fix-msc-webview-mouse-touch-bridge

Conversation

@Rengwang

Copy link
Copy Markdown
  • On Mac Catalyst, inject a scoped document-start script into MSCWebView pages served under mscfile: that translates primary-button mouse pointer sequences into touchstart / touchmove / touchend / touchcancel events.
  • Deduplicate follow-up trusted mouse clicks using pointerId + target containment without swallowing keyboard activation.
  • Include JS unit tests in Tests/check-msc-mouse-bridge.py.

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.

1 participant