turbolinks / turbolinks-classic

Classic version of Turbolinks. Now deprecated in favor of Turbolinks 5.
MIT License
3.54k stars 428 forks source link

add scroll option for server side rendering #675

Open uzxmx opened 7 years ago

uzxmx commented 7 years ago

When a user submits a remote form and the server sends the response to redirect to the same page via turbolinks, the scroll position of the browser window will be reset to 0.

Currently, turbolinks only supports scroll option on client side. This commit adds scroll option for server side.