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

Bug with YouTube iframes in Chrome for Mac. #16

Open
daghoidahl opened this issue Dec 21, 2012 · 6 comments
Open

Bug with YouTube iframes in Chrome for Mac. #16

daghoidahl opened this issue Dec 21, 2012 · 6 comments

Comments

@daghoidahl
Copy link

When the stickem element has the css attribute "overflow-y: auto", then tags within an iframe break the stickyness of the stickem element. Only the element is sticky.

The bug is reproduced on jsfiddle:
http://jsfiddle.net/AuAVc/

The bug appears in Chrome for Mac OS X, and I've tested with these versions:
Version 23.0.1271.101
Version 26.0.1366.0 canary

Would this be a bug in Chrome for OS X or jquery-Stickem?

@davist11
Copy link
Owner

Any reason you have overflow-y: auto on the element? It works fine when you take it off.

@daghoidahl
Copy link
Author

We need to handle a case where the contents of the element might be taller than the browser window. When this is the case, we need to be able to scroll within the element. Otherwise, the stickiness will make it impossible to reach the bottom of the element.

By the way, I see that I didn't clarify that the problem does not appear in any other browser that we've tested with: neither Firefox, Safari nor Chromium on Ubuntu.

@davist11
Copy link
Owner

Taller than the entire window?! The script already handles not making an element sticky if it is taller than the window.

@daghoidahl
Copy link
Author

Yes. The case is that we have a chat going on in the left column and administration commands in the right (sticky) column. These need to be able to scroll independently.

@davist11
Copy link
Owner

I'm not sure what to say here. Seems like your needs are incompatible with Stickem.

@daghoidahl
Copy link
Author

On the contrary, Stickem suits our needs like a glove. It has provided a simple solution to a problem we struggled with.

But there's a bug somewhere that manifests when it comes to embedded YouTube videos in Chrome for OS X (which is not the primary usage case for Stickem). I'm trying to find out whether the fault lies with Chrome itself or with Stickem. My hunch is that the problem is in Chrome, but I figured I'd check with the Stickem issue tracker first.

Anyway, I've filed a bug report with Chromium: http://code.google.com/p/chromium/issues/detail?id=167956

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

No branches or pull requests

2 participants