-
Notifications
You must be signed in to change notification settings - Fork 256
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 width #21
Comments
Same Issue as #7 . Anyone managed to find a fix? |
I've changed some code in the script and works for me. find reposition funciton //// if (fixedPosStyle) { |
Hey pavdro, seems to not work for me. The popup is still slightly off to the right when the scrollbar is visible. |
Hmm, actually I think that's another bug I've tried to fix. I think the way I have worked around the center issue is this: |
For anyone else interested, I have a temporary (yet somewhat ugly) solution which is adding this event to the popup's onOpen event:
That and the code from pavdro seems to fix positioning errors on load. It's a shame this script isn't getting updated much anymore. |
GJ! |
Try to change the windowWidth and windowHeight funtions to return the fallback value everytime: function windowWidth(){ I'll be sending out an update in near future. |
Fixed in v. 0.11.0 |
Hi,
in the code you are using 'y.innerWidth || d.width()' which return different values when scrollbar is on the page.
so popup doesn't end up perfectly centered.
Tested with:
jQuery 1.10.2
FF - 24.0
The text was updated successfully, but these errors were encountered: