I’ve been working on my dashboard recently and really wanted that classic retro “splitflap” look for my alarm clock displays. I decided to build a couple of custom cards to handle this and figured I’d share them here in case anyone else likes this style.
Hi.
I have the fix for the Flip Clock Card freezing issue after the user leaves the dashboard. The fix uses the Intersection Observer pattern.
I stopped using the disconnection callbacks. The IOer watches the card on the screen. The IOer stops the timer when the card is hidden. The IOer starts the timer again when the user returns to the view. The fix stops the timer when the card is hidden and starts it again when the user returns.