material-ui
material-ui copied to clipboard
[Toggle] IE: toggle style is wrong

Ops, sorry. Forgot to add my browser info:

Also on Edge.
If you use labelPosition='right' the problem goes away. Actually the bug is in material-ui/src/toggle.jsx at the following code segment: thumb: { ... left: 2, ... }, ... thumbWhenSwitched: { ... left: 18 }
In some tests that I did if you use right instead of left and change the pixels accordingly it is gets fixed but I tested it only with labelPosition='left'.
Fixed with #885
:+1: