You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's right, init is called before DOM ready, so we must use elementReady somewhere, likely inside updateUI (the select inside init is explicitly meant to work on ajaxed loads, not first loads, and ajaxed loads are not streamed)
Activity
gengjiawen commentedon May 6, 2022
Looks like need to make awaitDomReady to true #5596 (comment)
Is there an easy way to verify this on local ?
gengjiawen commentedon May 6, 2022
Removing it works on my local.
fregante commentedon May 7, 2022
That's right,
initis called before DOM ready, so we must useelementReadysomewhere, likely insideupdateUI(theselectinsideinitis explicitly meant to work on ajaxed loads, not first loads, and ajaxed loads are not streamed)refined-github/source/features/forked-to.tsx
Line 107 in b9df41b
Something like this should work, without assigning it to anything:
await elementReady('.page-actions')