UX: Remove subtle render delay with timeline notification button (#8860)
This commit is contained in:
parent
a84c493de2
commit
a6da0bb1ef
|
@ -1,4 +1,4 @@
|
||||||
import { next } from "@ember/runloop";
|
import { scheduleOnce } from "@ember/runloop";
|
||||||
import { setOwner, getOwner } from "@ember/application";
|
import { setOwner, getOwner } from "@ember/application";
|
||||||
|
|
||||||
export default class ComponentConnector {
|
export default class ComponentConnector {
|
||||||
|
@ -16,7 +16,7 @@ export default class ComponentConnector {
|
||||||
const elem = $elem[0];
|
const elem = $elem[0];
|
||||||
const { opts, widget, componentName } = this;
|
const { opts, widget, componentName } = this;
|
||||||
|
|
||||||
next(() => {
|
scheduleOnce("afterRender", this, () => {
|
||||||
const mounted = widget._findView();
|
const mounted = widget._findView();
|
||||||
|
|
||||||
const view = widget.register
|
const view = widget.register
|
||||||
|
|
Loading…
Reference in New Issue