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
In the PR #13 some nice looking default animations were added.
In the description it was mentioned that replace visits will not be animated. Which makes absolute sense.
This works as expected when the replace action is triggered directly through a Turbo visit, such as using Turbo.visit("/", { action: "replace" }) or via <a href="/" data-turbo-action="replace"></a>.
However, when the 'replace' action is configured through a path rule in the configuration, the animation is shown even though it shouldn't be.
- <p><a href="/two?action=replace" class="button@native" data-turbo-action="replace">Replace with another webpage</a></p>+ <p><a href="/two?action=replace" class="button@native">Replace with another webpage</a></p>
In the PR #13 some nice looking default animations were added.
In the description it was mentioned that replace visits will not be animated. Which makes absolute sense.
This works as expected when the replace action is triggered directly through a Turbo visit, such as using
Turbo.visit("/", { action: "replace" })
or via<a href="/" data-turbo-action="replace"></a>
.However, when the 'replace' action is configured through a path rule in the configuration, the animation is shown even though it shouldn't be.
Steps to reproduce (using the demo app)
data-turbo-action="replace"
in the hotwire-native-demo one.ejs file:Result: The replace is working. Page "one" is replaced with the page "two", but the animation is shown while doing so.
demo.mp4
The text was updated successfully, but these errors were encountered: