Behavior of Enter key when pressed in address bar

2019-05-18 04:53发布

I have a link like this: http://....../index?spid=1#tid=2&cmno=17 which will render an index page and move window position to top of the comment no.17 (cmno=17). It works normally.

But in other browser like IE, Firefox, when I was in that page, and focus mouse on the address bar then press enter again without changing URL, the page does not refresh. While in Chrome, when I do the same thing, the page is refreshed.

Is that normal behavior and difference between Chrome vs IE, Firefox? Or it's just my website's source code problem? Please help me.
Thanks a lot.

1条回答
欢心
2楼-- · 2019-05-18 05:30

I asked chromium and this is the answer:
https://bugs.chromium.org/p/chromium/issues/detail?id=12952
So it is intentional UI design.

查看更多
登录 后发表回答