-
Notifications
You must be signed in to change notification settings - Fork 20.6k
ScrollLeft and ScrollTop reinitializing themselves in an iframe contentDocument #1945
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
Comments
Oh that's a good one. It's funny, we go to extra lengths to get the correct window and then we don't use it when setting the values. So what's happening is that the iframe gets the parent window's value. |
Yea, we're good like that. |
Easy fix, but it seems we need an iframe test. |
Oh and you're probably better using the iframe window's |
Is anyone working on this? If so can I take it? @hilnius |
@araghava If you want, go for it! |
When scrolling manually in an iframe using $($('#iframe').contentWindow).scrollTop(y).scrollLeft(x), the scrollLeft reinitializes the scrollTop
For a demo, see this plunker:
http://plnkr.co/edit/tbn2UJ72frQG16vA9Z5y?p=preview
The text was updated successfully, but these errors were encountered: