malsup / blockui

jQuery BlockUI Plugin
http://jquery.malsup.com/block/
1.69k stars 506 forks source link

blockUI and "pageBlockEls" with new elements inside blocked content #24

Open rabanero opened 13 years ago

rabanero commented 13 years ago

Hi, master!

First of all, thanks a lot for our wonderful plugin. It's helping me a lot with my project.

I am developing and app with a lot of modal dialogs and ajax requests. I am trying to make it possible to be accesible via keyboard too (navigating by tabs, for example), and then I have some questions about that:

I am having annoying issue: When I load dynamic content over modal dialog (using blockUI, of course), tab navigation stop to work properly. I tried to investigate a bit on your code, and I think problem comes because "pageBlockEls" is only loaded at the beggining, and then it doesn't expect any changes. So, if we make changes on dialog, it produces inconsistency and malfunctions.

And too, I think I am trying to use blockUI to the extreme, but when I use blocks in cascade (block over block), I have some kind of problems too. Is there any kind of limitations using it in that manner?

Thanks a lot for your great work!