-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Slider Thumb not showing in Microsoft Edge on Windows 10 #1625
Comments
Thanks, @sathomas, I'll take a look at this. |
As a workaround I removed the MDL styling from the sliders on Edge: $(function() {
var user_agent = navigator.userAgent;
var edge = /(edge)\/((\d+)?[\w\.]+)/i;
if (edge.test(user_agent)) {
$("input.mdl-slider.mdl-js-slider").removeClass("mdl-slider mdl-js-slider");
}
}); Still looks okay, and is a lot more usable until this bug is fixed. |
It looks like Edge handles the native styling of sliders differently from IE. We'll be reimplementing sliders without using native styling in v2, but for now we should add a browser hack to solve this issue in Edge. |
The Edge solution is to specify the height of the input["range"] element. Since it doesn't depend on the thumb height, the thumb gets clipped. .mdl-slider { |
Thanks @mbaileys, that helped. I found that I also needed .mdl-slider::-ms-thumb {
/* ... extra stuff, height, width etc. */
transform: scale(1) !important;
} |
Screen shot taken from modern.ie VM Build number:20150801 running on Parallels Desktop 11.0.1
The text was updated successfully, but these errors were encountered: