开发者

Dojo makes focus lost on clicked link after going back

开发者 https://www.devze.com 2023-02-25 08:48 出处:网络
I have a page A containing a link to page B, after clicking 开发者_如何学Gothe link then going back (pressing the Back button of Firefox browser), I want that the link still has the focus. It is the d

I have a page A containing a link to page B, after clicking 开发者_如何学Gothe link then going back (pressing the Back button of Firefox browser), I want that the link still has the focus. It is the default behavior of Firefox. However, if page A uses Dojo (loads dojo.js), then this is broken, after going back nothing is in focus. How do I achieve this focus-preserving behavior even when using Dojo (which is required for the project)?

0

精彩评论

暂无评论...
验证码 换一张
取 消