Blockui: resetPositionCallback is not executed if the duration is undefined
See original GitHub issueDescribe the bug
The resetPositionCallback is not executed in “hide” call if the duration is undefined. It really does nothing (master, blockui.js)
this.content.hide(duration, resetPositionCallback);
Fadeout works fine.
Reproducer
- open Primefaces demo
- go to blockui page
- execute this code in console
PF('buiDatatable').cfg.animate = false; - put the breakpoint to resetPositionCallback (components.js)
- Change a page in the Custom content table.
- never catched
Expected behavior
No response
PrimeFaces edition
Community
PrimeFaces version
12.0.0
Theme
No response
JSF implementation
Mojarra
JSF version
2.3
Java version
11
Browser(s)
Chromium 106.0.5249.119
Issue Analytics
- State:
- Created 10 months ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
jQuery blockUI not working - Stack Overflow
Try to move the unblock function in the complete/done function of the ajax call. ... will not work, i set asynch:true and BlockUI...
Read more >BlockUI Not Firing Before Ajax Requests · Issue #686 - GitHub
On my pages that use tableSorter with ajaxProcessing, I cannot get the blockUI to run. I've added in the ajaxObject, in the beforeSend...
Read more >Trouble getting around jQuery blockUI - Synthetic
I have been having a lot of trouble reliably getting around the jQuery blockUI plugin. The page I am working on uses them...
Read more >jQuery BlockUI Plugin - malsup.com
The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX , without locking the browser ... This is usually not a...
Read more >BlockUI | PrimeFaces JavaScript API Docs
The configuration of this widget instance. Please note that no property is guaranteed to be present, you should always check for undefined before...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

OK i just tested it too it is working. Odd that they aren’t using
falsybehvior and looking for undefined explicitly.0 works well, I have tried it.