4

I have a modal dialog popup being called from a parent window after 30 seconds of launch.

The modal window then closes automatically after 10 seconds of its launch.

The problem is when the parent window tab is inactive the modal window launches but does not seem to register due to which the timer on the modal is not triggered and it never closes.

Once I click on the flashing inactive tab the timer kicks off and the modal window then times out after 10 seconds.

I must user modal window as one of my requirement is to notify the user about idle time when the browser session is idle.

Can someone help?

4

0 回答 0