Re:Chrome anchors are broken, Google has locked and is ignor...
by rohansingh on Thursday September 03, 2020 @04:38PM
(#24368627)
Nothing to see here:
[ Parent
| on HN ]
Re:Chrome anchors are broken, Google has locked and is ignor...
by barbegal on Thursday September 03, 2020 @04:48PM
(#24368715)
Yeah there are two competing needs here. Users expect to stay in the same location on the page if they refresh it or if they go to another page and use the back button. Users also expect that when the URL contains an anchor then they go to the location of that anchor. It's a tough issue to find the balance between these two user needs but I think the behaviour implemented by Chrome is good. These days it is very rare that a user refreshes a page, and when they do most users expect to stay in the same location on the page.
Re:Chrome anchors are broken, Google has locked and is ignor...
by arghblarg on Thursday September 03, 2020 @07:16PM
(#24369917)
OP here. It doesn't go to 'the same location on the page', that's the problem. It always jumps to the top of the page, as if the anchor didn't exist.
Note there is, in my case, a form submit action to a hidden iframe with the reload but the page location stays put in Firefox.
Re:Chrome anchors are broken, Google has locked and is ignor...
by loopz on Friday September 04, 2020 @12:54AM
(#24371807)
I refresh pages and use enter all the time. In fact, it's a constant battle to use any modern webpage.
Re:Chrome anchors are broken, Google has locked and is ignor...
by arghblarg on Thursday September 03, 2020 @07:22PM
(#24369959)
But if the reload is triggered by a form submit to an iframe (thus staying on the page) with a timed call to window.reload(), the page resets to the top. Not so in Firefox.