Currently when I launch the Perspective client in Microsoft Edge, every component is replaced with black. The problem appears to be browser specific, since everything still looks normal in Chrome.
We’ve encountered something similar when using a few of Perspective’s components that use TouchEvent, a browser feature incompatible with Desktop versions Edge, FireFox, and Safari. Would you mind confirming that this is the case?
To do so press the F12 key with Edge in focus. With the developer tools open, check the console tab for text similar to
onerrorLogger: {"stack":"./typescript/input/Slider.tsx@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:61061:38\n__webpack_require__@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:30:12\n./typescript/perspective-components.ts@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:61920:18\n__webpack_require__@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:30:12\n@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:94:18\n@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:11:18\nwebpackUniversalModuleDefinition@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:9:35\n@http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js:1:11\n","message":"TouchEvent is not defined","name":"ReferenceError","logData":{"msg":"Uncaught Exception","errorMsg":"ReferenceError: TouchEvent is not defined","url":"http://docker.ia.local:51750/res/perspective/js/PerspectiveComponents.js","line number":61061,"column":38}} PerspectiveClient.js:3625:17
Yes, it does appear to be the TouchEvent:
onerrorLogger: {"stack":"ReferenceError: 'TouchEvent' is not defined\n at Anonymous function (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:31:25549)\n at n (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:1:752)\n at Anonymous function (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:24:154471)\n at n (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:1:752)\n at Anonymous function (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:1:811)\n at Anonymous function (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:1:649)\n at Anonymous function (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:1:525)\n at Global code (http://bsiggwsd20:8088/res/perspective/js/PerspectiveComponents.js:1:1)","message":"'TouchEvent' is not defined","name":"ReferenceError","logData":{"msg":"Uncaught Exception","errorMsg":"'TouchEvent' is not defined","url":"http://bsiggwsd20:8088/res/persp
Thank you for confirming, an internal ticket to fix the issue has been opened.
Its doing it in Edge and Firefox for me on windows 10.
A fix has been merged, it should be in the 8.0.0- beta.20190305.
What if this script does not appear on Console?
The console error I listed should no longer appear in the console; the bug it indicated has long been fixed.