Deferred replaceState is causing issues with back navigation


(Sam Saffron) #1

@eviltrout this is quite urgent,

If you scroll up on a topic and quickly click back, the deferred replace state kicks in after the navigation to the front page, leading to messy stuff like this:


(Robin Ward) #2

Thanks for the repro. It was an easy fix:

https://github.com/discourse/discourse/commit/0b368993b7e6a2470228709236e7fbe13433ec18


(Robin Ward) #3