Bug 224481 - Refreshes on hash change only if devtools are closed
Summary: Refreshes on hash change only if devtools are closed
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 14
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-04-13 05:16 PDT by Alberto
Modified: 2021-04-20 05:17 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto 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.
Comment 1 Radar WebKit Bug Importer 2021-04-20 05:17:17 PDT
<rdar://problem/76894187>