Incorrect iOS detection with Chrome on multi-touch supported Windows device (e.g. Surface Go)
See original GitHub issueAfter I updated CM to 5.59.0, Ctrl+V
does not paste clipboard contents on Chrome on Surface Go.
This commit seems to be the cause: https://github.com/codemirror/CodeMirror/commit/7f3c36619f964d20e20c0ff5bec9cee99dae1549
> userAgent = navigator.userAgent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
> platform = navigator.platform
"Win32"
> edge = /Edge\/(\d+)/.exec(userAgent)
null
> navigator.maxTouchPoints
10
> ios = !edge && /AppleWebKit/.test(userAgent) && (/Mobile\/\w+/.test(userAgent) || navigator.maxTouchPoints > 2)
true
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Incorrect iOS detection with Chrome on multi-touch supported ...
After I updated CM to 5.59.0, Ctrl+V does not paste clipboard contents on Chrome on Surface Go. This commit seems to be the...
Read more >What to try if your Surface touchscreen doesn't work
If your Surface touchscreen doesn't work, try these steps first · Solution 1: Check for Windows and Surface updates · Solution 2: Boot...
Read more >Chrome Enterprise and Education release notes
The ChromeOS rollback feature enables managed devices to download and run an earlier version of ChromeOS than the one currently installed.
Read more >Touch events - Web APIs - MDN Web Docs - Mozilla
Touch events are similar to mouse events except they support simultaneous touches and at different locations on the touch surface.
Read more >Microsoft Surface Go (Intel Pentium Gold, 8GB RAM, 128GB ...
The best of Microsoft — favorite features, trusted security. Designed for the latest Windows laptop operating system and Office 365, Surface Go runs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since this was causing quite some problems I’ve released a 5.59.1 emergency fix.
Thanks! I’ll apply the same patch to my other projects then.