jQWidgets Forums

jQuery UI Widgets Forums Dialogs and Notifications Window Bug when initializing with dragArea

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 10 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Bug when initializing with dragArea #59342

    fimbul
    Participant

    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/

    Bug when initializing with dragArea #59358

    Peter Stoev
    Keymaster

    Hi fimbul,

    Thanks for the feedback. We’ll investigate whether this is an error on our side or not.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.