Open
Description
What package has an issue
@svelteuidev/core
A clear and concise description of what the bug is
Simple example:
<script>
import { page } from "$app/stores"
</script>
{$page.route.id} <<<<---- this line change when route change
<AppShell>
<Header zIndex={101} slot="header" height={60} fixed>
your header content
{$page.route.id} <<<---- this line is not changing when route change
</Header>
<Navbar
hiddenBreakpoint={'sm'}
slot="navbar"
fixed
>
your navbar content
</Navbar>
<ShellSection grow>
<slot />
</ShellSection>
</AppShell>
In which browser(s) did the problem occur?
No response
Steps To Reproduce
- Import
page
from "$app/stores" - Use the following property of
page
:$page.route.id
inside<AppShell />
(Preffer use inside<Header />
or<Navbar />
sections) - Make two differents routes
- Navigate between both routes
- The
$page.route.id
will not change in
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
No
Relevant Assets
bug.mp4
(Watch the behaviour of the red and green boxes when the route changes)
Metadata
Metadata
Assignees
Type
Projects
Status
Next