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

Switch from pure document.body for badge flyout Firefox compatibility. #226

Merged
merged 2 commits into from
Oct 22, 2016

Conversation

egid
Copy link
Contributor

@egid egid commented Aug 12, 2016

This fixes #182, where Firefox's flyout was positioned opposite scroll.

@egid egid changed the title Switch from document.body to document.documentElement for Firefox compatibility. Switch from document.body to document.documentElement for badge flyout Firefox compatibility. Aug 12, 2016
…ng to window.scrollY, with a fallback to docbody for IE.
@egid egid changed the title Switch from document.body to document.documentElement for badge flyout Firefox compatibility. Switch from pure document.body for badge flyout Firefox compatibility. Aug 13, 2016
@rauchg rauchg merged commit e0f09a5 into rauchg:master Oct 22, 2016
mexisme pushed a commit to devopsnz/slackin that referenced this pull request Mar 10, 2017
rauchg#226)

* update from document.body to document.documentElement for Firefox compatibility. fixes rauchg#182.

* document.documentElement is no more cross-browser than .body. Switching to window.scrollY, with a fallback to docbody for IE.
mexisme pushed a commit to devopsnz/slackin that referenced this pull request Mar 10, 2017
rauchg#226)

* update from document.body to document.documentElement for Firefox compatibility. fixes rauchg#182.

* document.documentElement is no more cross-browser than .body. Switching to window.scrollY, with a fallback to docbody for IE.
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

Successfully merging this pull request may close these issues.

Popup position in firefox
2 participants