Global events not triggered when a dialog box is open
I have a webpage that would set timers to timeout the session after a certain period of time. If the user has made any keypress or mouse clicks, the timer is renewed. The way I did it was to add a global keypress and onclick event to the document. This works great in the main webpage.
However, when I open a LayoutDialog on the same page, any mouse or keypress events are not triggering the global event handlers. They seem to be blocked somehow.
Does anyone know what's preventing the global event handlers from getting called? Is there any workaround for this issue?
Anyone have any insight into this issue?
Any solution for this? I have the same issue.