jQuery version: 2.1.1
jQWidgets version: 3.4.0
Browser: Chrome v33
OS: Windows 7 64-bits
Device Type: Desktop Computer (PC)
Description: When initializing a window with dragArea set with all four parameters filled (different from 0), you get an alert window displaying the following message: “Error: Invalid Size!”. The alert dialog sometimes does not appear if one of the parameters are set to zero (but sometimes it does).
After you close the alert box, the window widget behaves normally, respecting the boundaries you specified.
If you specify dragArea after the window has been initialized, the message does not appear, and the window widget behaves normally.
Expected Behavior: The error window shouldn’t show up. I guess this is a malformed validation procedure that’s supposed to check whether the constraints are valid, or it’s running prematurely, before the window has been fully formed.
JSFiddle with the bug: http://jsfiddle.net/n5Fwc/51/
Workaround for the bug: http://jsfiddle.net/n5Fwc/52/