I have three cards overlapping, but the counter only says two. It seems like the detection is not accounting for the extra height of the middle card due to the line breaks?
Maybe I don’t understand the algorithm. I would expect this to be 3 as well:
Collisions are hard
sadly yes they are – especially calculating them in real time without tanking performance
if ur curious this my overlap code, it runs in a webworker and is triggered to update when you do stuff like scroll or interact with a card
It seems like the overlap code thinks these cards are bigger than they are rendered here. (Kinopio – Thinking Canvas). It feels like there’s a race condition where the overlap code is running before the kinopio space “preview” gets tidied up, hence the larger assumed card size and higher overlap count.
Other reports of bugs with overlap count: https://futureland.tv/ethan/entry/136533?fullscreen=1
Yes that’s because card dimensions are not being recalculated after the spacelink data is ready
fix released, let me know how it is now