I have a custom code, which displays buttons that have different functions. My problem is that these buttons are displayed before the DOM, and before the softr content (which comes last).
I used this code thinking to delay their display a little bit, but it doesn’t change anything.
Hi there! Any updates on this? @artur how about a “no-block” page? (only custom code). How can I make sure all the content has been displayed before it’s run?
Well @artur , my hypothesis is that this is the reason why window.logged_in_user[‘email’] is not accurate enough when you use it within the document.addEventListener(“DOMContentLoaded”,…). Curiously, this happens in the preview from the Softr studio. And it does make you waste time investigating your code. If you use the shareable link in another browser session, it seems to work.