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
Actually on further investigation, it appears the web version does the same history push, I just didn't notice it before due to lack of animation / lack of pathologically spamming the button 😅
@carson-katri the issue here is the navigation animation. I don't know if this is avoidable or not in SwiftUI, but adding history in tihs way on the web doesn't result in any visual navigation in the browser. Using replace: true resolves that but now you lose history being added. Without it the history should still build with no navigation animation.
If that's not something that SwiftUI can do then we'll have to document this.
I will write up documentation that this shouldn't be handled in this way on native as it is a web-feature that doesn't make sense to preserve this history in the same way on native.
Issue
ScreenRecording_01-03-2025.18-48-12_1.MP4
See the following screen recording, where when I click "Search" without changing my query, it sends a phx-event to this:
This then shows up as another slide-from-right animation and swiping back brings me to the same page I was just at
Expectation
I don't see an animation and history stack remains unchanged since URL has not changed
The text was updated successfully, but these errors were encountered: