Under non-production environment, withStyles adds name option or React component's displayName as the prefix to class names. If the name option or React component's displayName contains forward slash, the classes do not work in IE11.
So request to add forward slash to regular expression escapeRegex in createGenerateClassName.
The following code block does not work in IE11 because IE11 failed to parse class name with forward slash.
Under non-production environment,
withStyles
addsname
option or React component'sdisplayName
as the prefix to class names. If thename
option or React component'sdisplayName
contains forward slash, the classes do not work in IE11.So request to add forward slash to regular expression
escapeRegex
increateGenerateClassName
.