Plotly.js: iPad Pro 12.9 (13) and iPad 7th (13) Not Detected Properly using Safari

Created on 21 Jan 2020  路  7Comments  路  Source: plotly/plotly.js

There appears to be an issue with WebGL detection on larger iPad Pro 12.9" tablets. I found ticket #280 that addressed this at one point for other iOS devices, but not sure if this is a regression or not. Additional details can be found here of the problem. It seems that if the browser is made smaller the graphing works fine, but once maximized to the full size of the tablet, the error "WebGL is not supported by your browser" is displayed. The same result happens for this user as well on the example pages here.

bug

All 7 comments

Which browser (& version) you are using?

Browser is Safari on iPadOS 13.3

Replicated on:
Screenshot from 2020-01-22 08-48-54

Using Safari only (Chrome works well),

Showing:
Screenshot from 2020-01-22 08-45-28

Having the same problem in iPad Air 10.5 (2019)

Got it to work by internally forcing isMobile=true in plotly.js and gl-plot3d.
Here is a demo.
The is-mobile module needs a patch to detect iPad Pro 12.9 (13) and iPad 7th (13) when using Safari.
Related: https://github.com/juliangruber/is-mobile/issues/17

Was this page helpful?
0 / 5 - 0 ratings

Related issues

WG- picture WG-  路  3Comments

n-riesco picture n-riesco  路  3Comments

deecay picture deecay  路  3Comments

pynklu picture pynklu  路  3Comments

jonmmease picture jonmmease  路  3Comments