fullscreeen button behaves differently in Chrome and FireFox/IE

76 views Asked by At

From this website, https://derivatives.autodesk.io/

when you view a 3D model using Forge Viewer, when user clicks "fullscreen" button, the icon is displayed incorrectly in Chrome(user should be able to see "exit fullscreen" button instead of "fullscreen" button if it's already in "fullscreen") in Firefox or IE, it behaves correctly. Is this a Forge Viewer bug in Chrome? Any fix?

1

There are 1 answers

0
Adam Nagy On

The issue could be a combination of the sample using viewer3D.js (so that I could debug into the code) instead of viewer3D.min.js and maybe the CDN network providing wrong resources in cases of certain locations. I'm saying the latter, because when I'm checking the sample from Chrome in the UK network then it works fine, when I log into our company VPN (which is based in another country) then the problem occurs. I'll update the code and will get it pushed to derivatives.autodesk.io. Let's hope that will solve it.

PS: today even logged in to our VPN the sample works fine in Chrome (maybe our VPN is going though a different country today?). So it seems a rather inconsistent issue. :-/ Even if I changed now the sample to use viewer3D.min.js I could not tell if it made any difference, since now again I cannot reproduce the issue in the sample's current state either.