diff --git a/src/index.ts b/src/index.ts index 14ea947..a97b604 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,9 +27,11 @@ const ui = uiFactory( ); $(() => { - if (shouldShowUI()) { - ui.show(); - } + setTimeout(() => { + if (shouldShowUI()) { + ui.show(); + } + }, 0); }); export {