UX: Remove subtle render delay with timeline notification button (#8860)

This commit is contained in:
Osama Sayegh 2020-02-05 10:35:47 +03:00 committed by GitHub
parent a84c493de2
commit a6da0bb1ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { next } from "@ember/runloop";
import { scheduleOnce } from "@ember/runloop";
import { setOwner, getOwner } from "@ember/application";
export default class ComponentConnector {
@ -16,7 +16,7 @@ export default class ComponentConnector {
const elem = $elem[0];
const { opts, widget, componentName } = this;
next(() => {
scheduleOnce("afterRender", this, () => {
const mounted = widget._findView();
const view = widget.register