You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Astro v4.7.0
Node v20.10.0
System Windows (x64)
Package Manager npm
Output static
Adapter none
Integrations @astrojs/sitemap
@astrojs/partytown
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I don't know if this is a bug, but i have a footer that needs to have transition:persist, it is needed to maintain other code working and i set up the i18n, on the page
unfortunately, if i have an anchor like this, the Astro.url.pathname will only work the first time the page open if i switch from the "/" to "/about-us", the href will be "/en" and not "/en/about-us"
this is an idea, but it doesn't work and i don't see anyone think of that, but as i see transition:persist={false} is not possible to do, maybe could be a feature to can change the child elements inside a transition:persist to not persist some elements
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I don't know if this is a bug, but i have a footer that needs to have
transition:persist
, it is needed to maintain other code working and i set up the i18n, on the pageunfortunately, if i have an anchor like this, the Astro.url.pathname will only work the first time the page open if i switch from the "/" to "/about-us", the href will be "/en" and not "/en/about-us"
this is an idea, but it doesn't work and i don't see anyone think of that, but as i see
transition:persist={false}
is not possible to do, maybe could be a feature to can change the child elements inside atransition:persist
to not persist some elementsotherwise, the only solution i see here is to use javascript and change the anchor to a button, and then dynamic change the redirect that made
What's the expected result?
Link to Minimal Reproducible Example
I will provide one if needed
Participation
The text was updated successfully, but these errors were encountered: