Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Pull-to-refresh wrong URL #158

Open
dpaola2 opened this issue Jun 19, 2019 · 1 comment
Open

Pull-to-refresh wrong URL #158

dpaola2 opened this issue Jun 19, 2019 · 1 comment

Comments

@dpaola2
Copy link

dpaola2 commented Jun 19, 2019

I have a /home page that loads as part of my turbolinks app. On this page, there is a button that links to /open, which opens a door and redirects back to the /home page.

This works just fine in a turbolinks-enabled iOS app, with one exception. When the user is sitting on the /home page, and they pull to refresh, Turbolinks actually visits the /open URL instead of refreshing the current page!

I have confirmed this with a proxy and lots of logging. It looks to me like the last visit, not the current URL, is the URL that is fetched upon pull-to-refresh.

@dpaola2
Copy link
Author

dpaola2 commented Jun 19, 2019

I have also tried to manually set the Turbolinks-Location header and Turbolinks still insists on reloading the last link that was clicked instead of the current location. Very strange. I've tried to dig around in the Xcode project for Turbolinks, but not being a swift developer, this has been difficult.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant