dont set hidden but instead completely unmount timeline when we navigate
this fixes an issue in chromium where if timeline is scrolled down and we navigate away, any other scroll causes the page scroll into overflow territory somehow
15 unmodified lines16171819202120212223242425262728293031323334353536363738393940414243445 unmodified lines5051525353545455565757585960616215 unmodified lines15 unmodified lines } }, "nixpkgs": { "locked": { "lastModified": 1761850514, "narHash": "sha256-qmg1yC6ybzH0/w4Bupx1hpgTS5MTl2qBMoD+DFx3hWM=", "lastModified": 1768783163, "narHash": "sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo+w8KsY4=", "owner": "nixos", "repo": "nixpkgs", "rev": "1c3d5f4e01f0b18b508be644d9d6a196fb7ed1f5", "rev": "bde09022887110deb780067364a0818e89258968", "type": "github" }, "original": { "owner": "nixos", "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } }, "nixpkgs-lib": { "locked": { "lastModified": 1754788789, "narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=", "lastModified": 1765674936, "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", "owner": "nix-community", "repo": "nixpkgs.lib", "rev": "a73b9c743612e4244d865a2fdee11865283c04e6", "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", "type": "github" }, "original": { "owner": "nix-community",5 unmodified lines "inputs": { "nixpkgs-lib": "nixpkgs-lib" }, "locked": { "lastModified": 1760948891, "narHash": "sha256-TmWcdiUUaWk8J4lpjzu4gCGxWY6/Ok7mOK4fIFfBuU4=", "lastModified": 1768135262, "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=", "owner": "hercules-ci", "repo": "flake-parts", "rev": "864599284fc7c0ba6357ed89ed5e2cd5040f0c04", "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac", "type": "github" }, "original": { "owner": "hercules-ci",15 unmodified lines1233456726 unmodified lines{ inputs.parts.url = "github:hercules-ci/flake-parts"; inputs.nixpkgs.url = "github:nixos/nixpkgs"; inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; inputs.naked-shell.url = "github:90-008/mk-naked-shell";
outputs = inp: inp.parts.lib.mkFlake {inputs = inp;} {26 unmodified lines12345---trigger: always_on---
1. this project uses deno. never try to use npx, use `deno x` instead. you can also use node if necessary.206 unmodified linesExpand all207208209210211212213214215216217218219211212213214215216217218219220221222128 unmodified linesExpand all206 unmodified linesExpand all{/snippet}
<div class="mx-auto flex min-h-dvh max-w-2xl flex-col"> <div class="flex-1"> <!-- timeline --> <TimelineView class={currentRoute.path === '/' ? `${animClass}` : 'hidden'} client={selectedClient} showReplies={true} bind:postComposerState />
{#if currentRoute.path === '/settings/:tab'} {#if currentRoute.path === '/'} <TimelineView class={animClass} client={selectedClient} showReplies={true} bind:postComposerState /> {:else if currentRoute.path === '/settings/:tab'} <div class={animClass}> <SettingsView tab={currentRoute.params.tab} /> </div> {:else if currentRoute.path === '/notifications'}128 unmodified linesExpand all