-
-
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
Modal mouse wheel issues in Chrome on Windows/Linux #16297
Comments
Works just fine on latest version of Firefox/Internet Explorer. It seems like this problem affects Chrome and Opera (28.0 - doesn't work either) and only if we open the modal with fade effect // Edit: Adding the following code fixes the issue for me:
|
Reposting the underlying Gist to trigger LMVTFY: https://gist.github.com/NerdGGuy/8531bc767704e148c55f/ |
Hi @cvrebert! You appear to have posted a live example (https://gist.github.com/NerdGGuy/8531bc767704e148c55f), which is always a good first step. However, according to the HTML5 validator, your example has some validation errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
JS Bin of your example, with the missing DOCTYPE added: |
I am unable to reproduce on OS X Chrome 42. |
@cvrebert Did you check this locally? Download your jsbin example and try it then, because I cant't reproduce this bug on jsfiddle/jsbin etc. sites. |
Still can't repro on OS X Chrome with the updated bl.ocks example. Maybe the bug is OS-specific. |
Seems reproducible in Win 8.1 Chrome 42.0.2311.82 on Sauce Labs. |
Interestingly, I couldn't reproduce this in Linux Chrome 42.0.2311.22 on Sauce Labs. |
I could reproduce this on OS X Chrome 41.0.2272.76 using Sauce Labs with the above bl.ocks URL. This appears to be a related Chrome bug: Per @sqal's suggestion, adding either Example fix: |
I guess the translateZ hack could be an option if we're okay with not supporting Safari<7.1 (on account of #14254), which would comply with our browser support policy. |
Given the browser bugs we've seen associated with |
Won't fix. |
Cool, I'll file another Chrome bug for good measure. |
Hey @cvrebert, any follow up? Am still having this issue. |
Sorry, didn't get around to filing that Chrome bug. Reopening to keep it on my TODO list. |
I can no longer reproduce this with Chrome 47 on Win 10, Win 8.1, or Linux, on Sauce Labs, using the original bl.ocks example. |
woow its working.. |
A modal is loaded on window.onload with the windows height smaller then the modal content. Scroll bar exists but mouse wheel doesn't scroll when using Chromium Version 41.0.2272.76 Ubuntu 14.04 (64-bit). Also confirmed this issue exists on Chrome Version 42.0.2311.90 Windows. Mouse wheel seems to work in Firefox.
http://bl.ocks.org/NerdGGuy/raw/8531bc767704e148c55f/
Re-sizing the window restores mouse wheel functionality. Also weirdly if a close button exists on the modal (not in this case sorry) mousedown on the button then mouseup away from button also restores mouse wheel functionality.
The text was updated successfully, but these errors were encountered: