Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the isTablet value is false, but the isDesktop is true when using safari on ipad pro #153

Open
PingZi818 opened this issue Jun 16, 2023 · 1 comment

Comments

@PingZi818
Copy link

No description provided.

@PingZi818 PingZi818 changed the title the isTablet value is false, when using safari on ipad pro the isTablet value is false, but the isDesktop is true when using safari on ipad pro Jun 16, 2023
@renegadevi
Copy link

If you use Safari on your iPad Pro it will detect as Desktop, but if you use another browser such as Google Chrome it will detect as Tablet.

This was done on purpose by Apple because users had demanded the browser on the 12.9" iPad Pro to be treated as desktop instead of several websites still used a more limited mobile site. In 2018 with the iPad Pro redesign, they made Safari act and detect the same as on the desktop.

As long something is read by a user agent, it's how it will be detected.

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

No branches or pull requests

2 participants