Skip to content

Commit

Permalink
fix: icon from datepicker no longer flickers on IE (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladitasev committed Aug 9, 2019
1 parent 964af67 commit 80c4f32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/main/src/Icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ class Icon extends UI5Element {
if (!window.ShadyDOM) {
return;
}
this.setAttribute("data-ui5-defined", "");
setTimeout(_ => {
this.setAttribute("data-ui5-defined", "");
}, 0);
}
}

Expand Down

0 comments on commit 80c4f32

Please sign in to comment.