Surface - A component-based library for Phoenix LiveView

I was looking into Surface recently and I noticed some interesting behavior on the website and I’m wondering if this is potentially a bug with Surface or LV since Surface itself is used for the page.

If you go-to the Surface docs, there are links in the sidebar. If you click between links in the sidebar you transition between pages as expected.

But, if you click between any 2 links (I can repeat this 100% of the time) reasonably quickly then the page never transitions and you wind up staying on the current page you’re on.

It doesn’t even need to be really fast clicking too. Even if you wait ~200ms it happens. I believe this is standard behavior on most sites (even non-LV sites) because if you click faster than the network request I guess the browser knows to not bother transitioning pages but I normally don’t notice this on non-LV sites, but it happened through regular usage twice normally clicking around the Surface site so maybe there’s an extra delay or something happening that’s unattended. I’m not sure but I thought I’d report it.

If you want me to record a video let me know. It’s reproduceable in every major browser on Windows.