Skip to content

Instantly share code, notes, and snippets.

@tkrotoff
Last active December 30, 2025 23:40
Show Gist options
  • Select an option

  • Save tkrotoff/cd7ea4ec29f83111365772aaa21bb25b to your computer and use it in GitHub Desktop.

Select an option

Save tkrotoff/cd7ea4ec29f83111365772aaa21bb25b to your computer and use it in GitHub Desktop.
navigator.maxTouchPoints value on different devices

As of 2025-12-30 (tested myself):

  • Mac 26.2, MacBook Pro M1 (laptop) with and without a mouse

    • Chrome 143 in regular desktop mode, maxTouchPoints is 0
      • mobile mode using the DevTools, maxTouchPoints is 1
    • Firefox 146 in regular desktop mode, maxTouchPoints is 0
      • mobile mode using the DevTools, maxTouchPoints is 1
    • Safari 26 in regular desktop mode, maxTouchPoints is 0
  • Windows 11 24H2 x86 with a mouse (desktop computer)

    • Chrome 143 in regular desktop mode, maxTouchPoints is 0
      • mobile mode using the DevTools, maxTouchPoints is 1
    • Edge 143 in regular desktop mode, maxTouchPoints is 0
      • mobile mode using the DevTools, maxTouchPoints is 1
    • Firefox 146 in regular desktop mode, maxTouchPoints is 0
      • mobile mode using the DevTools, maxTouchPoints is 1
  • Ubuntu 24.04 ARM (UTM emulation)

    • GNOME Web 46.5 (Epiphany), maxTouchPoints is 0
  • Ubuntu 24.04 x86 (laptop)

    • GNOME Web 46.5 (Epiphany), maxTouchPoints is 0
    • Firefox 146 in regular desktop mode, maxTouchPoints is 0
      • mobile mode using the DevTools, maxTouchPoints is 1
  • Google Pixel 9 Pro (Android 16) maxTouchPoints is 5 (Chrome 143 and Firefox 146)

  • iPhone 17 Pro Max (XCode simulator) maxTouchPoints is 5 (Safari 26)

  • iPad (A16) (XCode simulator) maxTouchPoints is 5 (Safari 26)

  • iPad Pro 13" (M5) (XCode simulator) maxTouchPoints is 5 (Safari 26)

There were some bugs related to maxTouchPoints value (with Windows 7 & 10) in the past in Chromium, Firefox and WebKit

As for iPad detection, ua-parser-js does maxTouchPoints > 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment