hotwired / turbo-ios

iOS framework for making Turbo native apps
MIT License
874 stars 88 forks source link

Fix refresh behavior #220

Closed olivaresf closed 2 months ago

olivaresf commented 2 months ago

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).