You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Visuals are hosted inside a sandboxed IFRAME with only allow-scripts enabled see: http://www.w3schools.com/tags/att_iframe_sandbox.asp
It might be the reason.
Why do you need to add event listener on the window in the first place?
As for the need for this - our library attaches to certain mouse events on the window so that it can process them while the pointer is outside of its own elements.
After we discussed I was able to pin point the issue in Power BI codebase.
I submitted a fix and it will take some time until it will arrive to production (several weeks).
Closing the issue for now
Probably due to something related to the visual sandboxing, the
window
global variable becomes somewhat unusable.For example,
window.addEventListener()
throws an exception (TypeError: Invalid calling object
on Edge,TypeError: Illegal invocation
on Chrome).The text was updated successfully, but these errors were encountered: