0
2
next.grain.social: a click on a list row sometimes opens nothing
ClosedFound and fixed in HUD 21ca387 (Grain pull 3n2tp5iyeld7a, merged into feature/hud): loading /profile/<handle> put that profile on top of Home, since the route opens under the first tab, and each tab kept the screens left on it. So the first click on Home showed Home's leftover screen and only the second reached the feed. A tab now always goes to its root in one click, your own profile opens the Profile tab (on load too), opening the screen you're on pushes nothing, and back replaces the entry where the screen under isn't the previous one. Covered by the shell's SSR/history tests; clicked through signed out in Chromium at desktop and phone widths. Reopen if it happens again signed in.
What happened
On next.grain.social, signed in, a click on a row of a profile's Followers list sometimes did nothing; a second click opened the profile. Seen on other views too ("sometimes I have to click twice on stuff before it navigates"). The row shows its hover highlight, so the pointer is over it.
How to see it
Not reproduced yet. Signed out, on https://next.grain.social/profile/chadtmiller.com/followers in headless Chromium at 1440×900, every single click on a row opened its profile, including:
domcontentloaded, with 170 ms latency and 3 Mbps simulated, cache off): the server's full-row<a class="open">takes it before hydration, and the app's after;What is still open:
Shell.svelte'sbeforeNavigatecancels a move once SvelteKit's version check says a new build is out and loads the page anew (location.href). Many deploys went out the day this was seen.When it happens again, note: how soon after loading, going back or scrolling; whether nothing changed at all, something flickered, or it went but slowly; and where on the row the click was.
What you expected
One click on a row opens what it links to.
Where
next.grain.social (HUD hud-next at
7016200, the SvelteKit app fromfeature/hud), web, Chrome on macOS, signed in.