We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d79e91 commit 3da20f8Copy full SHA for 3da20f8
src/components/icon/icon.tsx
@@ -133,7 +133,7 @@ export class EuiIconClass extends PureComponent<
133
EuiIconProps & WithEuiThemeProps,
134
State
135
> {
136
- isMounted = true;
+ isMounted = false;
137
constructor(props: EuiIconProps & WithEuiThemeProps) {
138
super(props);
139
@@ -149,6 +149,7 @@ export class EuiIconClass extends PureComponent<
149
}
150
151
componentDidMount() {
152
+ this.isMounted = true;
153
const { type } = this.props;
154
155
if (isEuiIconType(type) && this.state.icon == null) {
upcoming_changelogs/6166.md
@@ -0,0 +1,3 @@
1
+**Bug fixes**
2
+
3
+- Fixed a bug in some development environments which prevented `EuiIcon` from loading icons asynchronously
0 commit comments