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 a prevent data attribute on a link that run a self transition, the transition is not prevented.
Note that the prevent strategy work as expected, so currently you can prevent the transition from running by using event.preventDefault() followed by event.stopPropagation() inside the prevent callback.
The text was updated successfully, but these errors were encountered:
xavierfoucrier
changed the title
Prevent data attribute doesn't work on a self transition
The data-barba-prevent attribute doesn't work on a self transition
Mar 13, 2024
When using a prevent data attribute on a link that run a
self
transition, the transition is not prevented.The text was updated successfully, but these errors were encountered: