Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update refresh with last visitable #22

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Update refresh with last visitable #22

merged 2 commits into from
Sep 20, 2024

Conversation

olivaresf
Copy link
Member

@olivaresf olivaresf commented Sep 19, 2024

Turbo-iOS PR: hotwired/turbo-ios#220

While testing, I found that when a visit with a refresh presentation is proposed, TurboNavigatorHierarchyController will correctly pop (or dismiss) and then ask the session to reload. However, the session does not know that the topmost visitable changed, so a reload will end up reloading the last successfully loaded visit – the visitable that was just popped (or dismissed).

@jayohms jayohms merged commit e332e0e into main Sep 20, 2024
1 check passed
@jayohms jayohms deleted the fix-refresh-behavior branch September 20, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants