Peter Monte
Peter Monte
hi @amorey, Been struggling with this method for a while, so gonna leave this here for anyone. It seems that **Safari v14.0.2 (16610.3.7.1.9)** doesn't trigger or randomly fails to trigger...
https://cdpn.io/petermonte/debug/Vwwqgjv/LDAmdnPpbExr I've updated the script to make **Sentinel** only run once `document` triggers the `sentinel-load` event - it seems to break in all browser. ```javascript ... const _components = [];...
Here is you're code in a simple way isolate from any other script. https://cdpn.io/petermonte/debug/XWWKRNv/mWAoNzxpxxWr - I still see **Safari** not working with an **hard refresh**. - Tried `sentinel-load` didn't seem...
let me put things in a simple way by using your example. Need to slightly change it because you only target one element base on the css animation name. I'm...
@amorey Thanks man. I was almost going crazy trying to figure out what was happening. My purpose with this thread was to understand how sensible Sentinel is with how "each...
>Can you describe this in more detail? What do you mean by script execution time? The time when the browser parses and executes the "sentinel.js" script? The moment the browser...
>The example snippet wasn't intended to work, I posed it as a theoretical example to see if that is what you are asking for. Ah! sorry, my bad. **Yes, that...
>Why can't you use the DOMContentLoaded event? Yes, in fact my text practically describes the event `DOMContentLoaded`. Problem is that it doesn't work. --- **So to sum things up and...
>Sentinel isn't designed to detect elements at DOMContentLoaded, it's designed to detect elements when animationstart is triggered so I don't think this is a bug. You're right when it comes...
@fbosman thanks for the feedback. Although switching is occurring for both ways (activating Screenly theme or activating the previous non Screenly theme used) it may happen that things get mixed...