PDA

View Full Version : user can operate with messagebox shown



goodlook
5 Aug 2009, 10:50 PM
Although the messagebox is shown, the page number textbox in the pagingtoolbar receives focus by pressing tab on keyboard , then press enter. haha....the gridpanel in background refresh.
The user can do what he wants when the messagbox is not closed
Is it a bug?
I find many websites have this problem.......
who can solve this problem?

Animal
5 Aug 2009, 10:52 PM
It's a very well known and old problem with "modal" dialogs in RIAs.

It's been mentioned many, many times here. There's still some uncertainty over how Ext is going to solve this.

Condor
5 Aug 2009, 11:47 PM
I'm for the focusin/focusout solution (see here (http://extjs.com/forum/showthread.php?t=74974)).

Another method is to temporarily remove the tabindex attributes from all components (but that could potentially take a lot of time).