Why do page anchors sometimes miss?

后端 未结 7 1540
灰色年华
灰色年华 2020-12-15 05:41

On an HTML page, a link like this:

Location on Page

...should navigate to this spot on the

7条回答
  •  时光说笑
    2020-12-15 06:39

    OK. I think this is new. Using HTML5's autofocus will cause a misfire, as will jQuery's focus() method. Took 90 minutes of trial and error to discover this because I thought the issue was image related :)

提交回复
热议问题