fabien-d / alertify.js

JavaScript Alert/Notification System
http://fabien-d.github.com/alertify.js/
4.26k stars 725 forks source link

alert box lost focus using tab key in safari browser #198

Open todomsg opened 10 years ago

todomsg commented 10 years ago

when i was use safari browser, ok button has not get auto focus. and also it's lost focus using tab key. so we can click other button on form even we have dialog box appear on screen.

Please give me any solution to avoid access of other element when alert box appear on screen.

fabien-d commented 10 years ago

What version of safari are you seeing this in?

The default behaviour is to block access to other elements, could you provide me a sample case with the issue?

todomsg commented 10 years ago

Hello Fabien, thansk for reply. I am using Safari 5.1.7 in window. Problem is safari unable to set focus to ok button as default. when i was put code "this.setFocus();" on setup function at last. it was working good. problem is in setup function for safari.