Skip to content

Commit 53e2d97

Browse files
authored
improvement: create disabled styles in IE (#206)
1 parent da2cc8e commit 53e2d97

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/base/src/sap/ui/webcomponents/base/theming/StyleInjection.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ const injectWebComponentStyle = (tagName, cssText) => {
3535
if (injectedForTags.indexOf(tagName) !== -1) {
3636
return;
3737
}
38-
createStyleInHead(cssText, { "data-sap-source": tagName });
38+
createStyleInHead(cssText, {
39+
"data-sap-source": tagName,
40+
"disabled": "disabled",
41+
});
3942
injectedForTags.push(tagName);
4043

4144
// IE only

0 commit comments

Comments
 (0)