Closed ConorWebb96 closed 6 months ago
Hi, As a workaround, we use the Interval plugin with an initial timer at 1 sec (which is not perfect, but we cannot have less). The timer actions:
The Interval plugin is of course not displayed (Display component in frontend set to false in builder). Conditions : Hide component if {{ State.Init }} is not empty Hiding the Interval component just stops it.
That makes the job even though it's not perfect. We could improve it by checking the document.readyState==="complete" in step 1 of the Interval's actions.
Checklist
Hosting
Describe the bug On screen load isn't triggering on previewed apps. This does seem to be working for published apps, this makes it a bit of a pain to check your on screen load actions. As you need to publish every time you make a change to see it being affected.
To Reproduce Steps to reproduce the behavior:
Expected behavior On screen loads should trigger in preview mode as well as published apps.
Screenshots
App Export If possible - please attach an export of your budibase application for debugging/reproduction purposes.