bdougherty / BigScreen

A simple library for using the JavaScript Full Screen API.
https://brad.is/coding/BigScreen/
MIT License
710 stars 77 forks source link

Leaving full screen returns you to the top of the page #1

Closed ghost closed 12 years ago

ghost commented 12 years ago

I don't think this would be desirable, returning to the exact position on the page you were, before you entered full screen, would be much nicer.

bdougherty commented 12 years ago

What browser are you using? And also, what are the steps to reproduce?

ghost commented 12 years ago

Happens in Firefox release (15) & nightly (18) on Windows (8)

Reproduce by going to your own demo site: http://brad.is/coding/BigScreen/

bdougherty commented 12 years ago

I think this may be related to an issue in Firefox where it does not scroll by default when the page is put into full screen. I have a couple styles that "fix" it. I'll file that bug report with Mozilla and see what happens.

bdougherty commented 12 years ago

Here is the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=788383

bdougherty commented 12 years ago

The fix for scrolling is in Firefox 18. I will remove the hack styles on the site when it is released.

You can confirm that everything is working here: http://brad.is/coding/BigScreen/noscroll.html (this page does not have the scrolling hack).