开发者

Sometimes in Safari the first click isn't sent to the popup

开发者 https://www.devze.com 2023-01-08 21:46 出处:网络
I used different methods including \"onclick\" and jquery. http://sky-walker.net/te开发者_开发技巧mp/test.htm

I used different methods including "onclick" and jquery.

http://sky-walker.net/te开发者_开发技巧mp/test.htm

On Safari (for Windows at least), the first click after a popup appears (alert, prompt or confirm) isn't handled by the popup... e.g. in my test trigger a popup then hover or click on the checkbox... the first click doesn't register with the "ok" button...

Is there any workaround?

Thanks.


Old question but...i confirm this. First click doesn't register on the popup, but it registers on the page. As a workaround maybe you could give focus to the popup as soon as it appears

0

精彩评论

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