material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[Toggle] IE: toggle style is wrong

Open luisrudge opened this issue 11 years ago • 5 comments

toggle-style

luisrudge avatar May 28 '15 15:05 luisrudge

Ops, sorry. Forgot to add my browser info:

image

luisrudge avatar May 28 '15 17:05 luisrudge

Also on Edge.

bruce55 avatar Jun 02 '15 04:06 bruce55

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'.

mvodas avatar Jun 13 '15 16:06 mvodas

Fixed with #885

hai-cea avatar Jun 19 '15 20:06 hai-cea

:+1:

luisrudge avatar Jun 19 '15 20:06 luisrudge