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
When using the @barba/css plugin with the sync mode option, it looks like the .active class doesn't properly show up when navigating with the backward browser button.
For example, navigating from home.html to fade.html will properly fade the content and display the next page, but going back to the home.html page will lead into this issue, where the .home-enter-active class is missing on the next container, breaking the transition:
Finally, the .home-enter-to class stay on the next container, even after the transition end.
Note that this is only happening in sync mode when the page that is using a synced transition to go to is loaded first, at once hook.
The text was updated successfully, but these errors were encountered:
Hello @gfnool, I am not using a lot @barba/css, that's probably why I haven't investigate on this currently. Keep watching 😉
xavierfoucrier
changed the title
Next container active class is missing when using sync mode and popstate events
Transition is broken when using sync mode and popstate events
Mar 15, 2023
When using the
@barba/css
plugin with thesync
mode option, it looks like the.active
class doesn't properly show up when navigating with the backward browser button.For example, navigating from
home.html
tofade.html
will properly fade the content and display the next page, but going back to thehome.html
page will lead into this issue, where the.home-enter-active
class is missing on the next container, breaking the transition:Finally, the
.home-enter-to
class stay on the next container, even after the transition end.The text was updated successfully, but these errors were encountered: