LoginSignup
0
0

More than 5 years have passed since last update.

Internet Explorerではlocation hash changeでhashとname属性が一致するinputに飛んでいってしまう

Posted at

既存の js rendering じゃない画面を Backbone で部分的に js rendering することがよくある1んですが、その際気をつけるべきことのひとつが Routing に使う location hash が html 内の id 属性と被らないようにすることだと思います。意図せぬ位置にスクロールしちゃいますよね。

ところがだ。 Internet Explorer だと name 属性の一致する input にも飛んでいってしまうのだよ。


  1. みんなはどう? 

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0