-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
Odd behavior with Carousel when Win Chrome browser tab is inactive #15298
Comments
What OS are you using? |
Win 7 x64 |
Just for the record, I can't seem to repro on Mac Chrome. |
@XhmikosR Could you try to repro this? |
I can't seem to reproduce either on the /components page. |
I should be able to check this out later today, sure |
Can reproduce it on http://getbootstrap.com/javascript/#carousel |
@juthilo Any luck? |
Sorry for the delay. I can reproduce on Windows 8.1 using Chrome 39.2171.95. |
@juthilo Could you file a Chromium bug? Only workaround I can think of would be to make use of the Page Visibility API to stop the carousel when the tab isn't visible and hope that that would avoid/minimize the problem. |
Made a POC for using the visibility API. @juthilo Does the bug repro on http://jsbin.com/yigazi/3 ? (Fingers-crossed that it doesn't..) |
@cvrebert 👍 Can't reproduce using your JS Bin. I did a direct comparison of the live docs and your Bin to be sure. I'll file the Chromium bug later today. |
Cool! Thanks 😄 |
Improves performance when the page is in a hidden tab or minimized window, etc. Fixes #15298 as this happens to work around it by preventing the problematic situation from occurring.
Et voilà, the Chromium issue: https://code.google.com/p/chromium/issues/detail?id=449180 |
Add Wall of Browser Bugs entry for #15298
Closing as a bug in the browser itself that we can't directly address. |
I'm using the built in JS carousel a rotating header on my site. The problem occurs while using tabs in the latest version of Chrome.
First open a page with a carousel on it. Then open a new tab (same window). After a few slides would have gone by, switch back to the carousel. The current slide/next slide transition should be broken for one iteration. For example, the current slide image isn't shown until the next slide takes its place. Also the transition times seem to be off. After the one broken iteration, the carousel works as normal.
Maybe this is something that Chrome is doing to save CPU?
The text was updated successfully, but these errors were encountered: