-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skeleton V3 Navigation.Rail/Tile selection not updated correctly #3197 #3198
Comments
As I stated before, this is a different bug than originally reported in #3197, so it will be treated as such can can remain. The original bug was in regards to why selection state didn't change when navigating outside the component. This is in regards to why the function for The first issue was addressed in the prior ticket, we'll address the second here. |
This is broken due to @ktarmyshov A temporary fix for this could just be removing the Navigation.Tile <Navigation.Rail>
{#snippet tiles()}
<Navigation.Tile label="Files" href={'/route1'} selected={page.url.pathname.startsWith('/route1')}>
<IconFolder />
</Navigation.Tile>
<Navigation.Tile label="Images" href={'/route2'} selected={page.url.pathname.startsWith('/route2')}>
<IconImage />
</Navigation.Tile>
<Navigation.Tile label="Music" href={'/route3'} selected={page.url.pathname.startsWith('/route3')}>
<IconMusic />
</Navigation.Tile>
<Navigation.Tile label="Videos" href={'/route4'} selected={page.url.pathname.startsWith('/route4')}>
<IconVideo />
</Navigation.Tile>
{/snippet}
</Navigation.Rail> |
Current Behavior
Since I cannot reopen, I'm submitting again,
Function runs on each tap. You can close it again, if you insist it's a feature.
Expected Behavior
Skeleton V3 Navigation.Rail/Tile selection not updated correctly #3197
Steps To Reproduce
No response
Link to Reproduction / Stackblitz
No response
More Information
No response
The text was updated successfully, but these errors were encountered: