3 ms·
Slightly OT: is that what a 'Discourse' page looks like? It's pretty awful: it will automatically update the URL as you scroll past each post in any direction,
by Hasknewbie 9y ago
Slightly OT: is that what a 'Discourse' page looks like? It's pretty awful: it will automatically update the URL as you scroll past each post in any direction, while breaking the Back button, so good luck getting back to the original post, since neither clicking on Back nor reloading the page will get you there. Basic UX failure.
- eridius 9y agoWhat browser are you using? Because when I scroll on that page and the URL changes, it doesn't affect my Back stack (this is in Safari).
- zymhan 9y agoThat's the behavior I see using Firefox.
- Hasknewbie 9y agoUsing Firefox for Android. I can't not notice the irony that this is happening with FF on the mozilla.org Web site.
- littlestymaar 9y agoIt looks like a feature to me : this way when you copy the address it links directly to the right comment. Of course this comes at the expense of a working back button.
- SaladFork 9y agoThe page is using Location.replace[0] to update the URL and replaces the current history entry without affecting back/forward behavior on pretty much any browser. The one downside is that the URL may no longer point to the comment you were originally linked to. [0] https://developer.mozilla.org/en-US/docs/Web/API/Location/replace https://developer.mozilla.org/en-US/docs/Web/API/Location/re...