blockui icon indicating copy to clipboard operation
blockui copied to clipboard

blocking a div blocks full page after block/unblock/block in latest version

Open BenKelada opened this issue 12 years ago • 7 comments

blocking a div blocks full page after block/unblock/block in latest version

It is caused by this code in version 2.60 around line 495:

/* - this causes problems, whenrunning block / unblock / block if ($el.data('blockUI.static')) { $el.css('position', 'static'); // #22 } */

To test run block/unblock/block on a div with and without the above code

BenKelada avatar May 14 '13 02:05 BenKelada

Can you provide a link that shows the problem?

On Mon, May 13, 2013 at 10:03 PM, berserkk [email protected] wrote:

blocking a div blocks full page after block/unblock/block in latest version

It is caused by this code in version 2.60 around line 495:

/* - this causes problems, whenrunning block / unblock / block if ($el.data('blockUI.static')) { $el.css('position', 'static'); // #22https://github.com/malsup/blockui/issues/22 } */

To test run block/unblock/block on a div with and without the above code

— Reply to this email directly or view it on GitHubhttps://github.com/malsup/blockui/issues/69 .

malsup avatar May 23 '13 18:05 malsup

I'm experiencing this issue as well after upgrading but I can't replicate it in sample app... For Chrome, setting 0 to fadeIn and fadeOut and ignoreIfBlocked to true has fixed the issue, but it is still present in Firefox Nightly...

rosenfeld avatar Jul 19 '13 12:07 rosenfeld

But commenting the mentioned code didn't fix the issue to me in FF

rosenfeld avatar Jul 19 '13 12:07 rosenfeld

I'm using jQuery layout and blockUI is blocking the entire left pane instead of just the requested divs

rosenfeld avatar Jul 19 '13 12:07 rosenfeld

Sorry for the noise. I'm pretty sure this is a regression in Firefox Nightly. The blocked div has position:relative and the blockUI element is a direct child of it and has position: absolute, top: 0. So far so good, but Firefox Nightly isn't considering the top 0 relative to the blocked div with position:relative, but it's considering the distance to the top of the left pane for some reason. Testing on Iceweasel 22.0 is working just fine.

rosenfeld avatar Jul 19 '13 13:07 rosenfeld

Firefox Aurora (24.0) is fine as well. Just Nightly has the regression as of today

rosenfeld avatar Jul 19 '13 13:07 rosenfeld

Thanks for the update.

On Fri, Jul 19, 2013 at 9:25 AM, Rodrigo Rosenfeld Rosas < [email protected]> wrote:

Firefox Aurora (24.0) is fine as well. Just Nightly has the regression as of today

— Reply to this email directly or view it on GitHubhttps://github.com/malsup/blockui/issues/69#issuecomment-21248919 .

malsup avatar Jul 19 '13 13:07 malsup