Skip to content

Commit

Permalink
chore: use RenderScheduler intead of Render.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhan007 committed Feb 15, 2021
1 parent 76bdfc8 commit efc3dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/main/src/Popup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { renderFinished } from "@ui5/webcomponents-base/dist/Render.js";
import RenderScheduler from "@ui5/webcomponents-base/dist/RenderScheduler.js";
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
import { getRTL } from "@ui5/webcomponents-base/dist/config/RTL.js";
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
Expand Down Expand Up @@ -337,7 +337,7 @@ class Popup extends UI5Element {

this.opened = true;

await renderFinished();
await RenderScheduler.whenFinished();
this.fireEvent("after-open", {}, false, false);
}

Expand Down

0 comments on commit efc3dd1

Please sign in to comment.