matthewhudson / current-device

📱 The easiest way to write conditional CSS and/or JavaScript based on device operating system (iOS, Android, Blackberry, Windows, Firefox OS, MeeGo), orientation (Portrait vs. Landscape), and type (Tablet vs. Mobile).
https://matthewhudson.github.io/current-device/
MIT License
3.94k stars 588 forks source link

iphone 6S running iOS 15.5 - Safari identifies as ( Tablet running ios ) #363

Open jalsco opened 1 year ago

jalsco commented 1 year ago

iphone 6S running iOS 15.5 - running Safari identifies (wrongly ) as ( tablet running ios ). device.mobile() is also (wrongly) false, reporting that it is "tablet", when should be "mobile"..

Same device ( phone 6S running iOS 15.5 -) when running Firefox, it correctly identifies as (mobile running ios)