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

window.innerHeight breaks on Firefox and Edge #82

Closed
Knagis opened this issue Mar 2, 2017 · 1 comment
Closed

window.innerHeight breaks on Firefox and Edge #82

Knagis opened this issue Mar 2, 2017 · 1 comment

Comments

@Knagis
Copy link

Knagis commented Mar 2, 2017

Probably the same root cause as #81 (and #38) however in this case it also fails on Edge.

Microsoft Edge 38.14393.0.0
Microsoft EdgeHTML 14.14393
Mozilla Firefox 51.0.1 (32-bit)

    export class Visual implements IVisual {
        constructor(options: VisualConstructorOptions) {
            console.log("innerHeight test");
            try {
                console.log("innerHeight ok", window.innerHeight);
            } catch (e) {
                console.error("innerHeight err", e);
            }
        }
    }

Firefox:

TypeError: 'get innerHeight' called on an object that does not implement interface Window.

Edge:

TypeError: Invalid calling object

@AleksSavelev
Copy link
Contributor

Closing due to age

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