Bug 224481

Summary: Refreshes on hash change only if devtools are closed
Product: WebKit Reporter: Alberto <alberto>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Unspecified   
OS: Unspecified   

Alberto
Reported 2021-04-13 05:16:48 PDT
In any webpage (you can try it here, in this bug report), if you edit the URL to add a hash (for example: `#footer`) and press Enter, the whole page is reloaded. This won't happen in Chrome and Firefox (they'll just scroll to that anchor link, if any). Funny thing is that if you open the devtools and repeat the same thing, the page won't refresh - it'll act like Chrome and Firefox. So the behavior is different depending if you do it with the devtools opened or closed. Tested in Safari 14 and Safari TP.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-04-20 05:17:17 PDT
Note You need to log in before you can comment on or make changes to this bug.