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

[OS X] in 0.7.x window.screen returns funky values when outside visible screen space. And window.height 0 breaks rendering. #1133

Closed
miklschmidt opened this issue Sep 18, 2013 · 1 comment
Labels

Comments

@miklschmidt
Copy link

This is in continuation of #1043

When below the visible screen space, window.screen returns (example):

{
    availHeight: 0
    availLeft: 0
    availTop: 1200
    availWidth: 0
    colorDepth: 24
    height: 0
    pixelDepth: 24
    width: 0
}

When inside the visible screen space it returns (example):

{
    availHeight: 1075
    availLeft: 0
    availTop: 22
    availWidth: 1920
    colorDepth: 24
    height: 1200
    pixelDepth: 24
    width: 1920
}

Expected return value

In both cases it should be:

{
    availHeight: 1075
    availLeft: 0
    availTop: 22
    availWidth: 1920
    colorDepth: 24
    height: 1200
    pixelDepth: 24
    width: 1920
}

Window height of 0

Furthermore, a window height of 0 breaks rendering.

Both of these issues we're non existent in 0.6.x

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@stale
Copy link

stale bot commented Sep 30, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 30, 2017
@stale stale bot closed this as completed Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants