jQuery UI Widgets Forums Dialogs and Notifications Window JqxWindow duplicating divs

This topic contains 1 reply, has 2 voices, and was last updated by  Nadezhda 9 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • JqxWindow duplicating divs #69604

    mschecht
    Participant

    Hello,

    I’ve encountered what I believe is a bug with jqxWindow. Dynamically changing the “draggable” property of a jqxWindow causes it to duplicate the “jqx-resize” div used by the widget.

    The basic layout of a jqxWindow initially looks as such:

    <div id="jqxwindow" ...>
        <div class="jqx-resize" ...>
            <div class="jqx-window-header" ...></div>
            <div class="jqx-window-content" ...></div>
        </div>
    </div>

    After changing the “draggable” property to either true or false after the panel has been created duplicates the “jqx-resize” div:

    <div id="jqxwindow" ...>
        <div class="jqx-resize" ...>
            <div class="jqx-resize" ...>
                <div class="jqx-window-header" ...></div>
                <div class="jqx-window-content" ...></div>
            </div>
        </div>
    </div>

    A new “jqx-resize” div will be created every time the “draggable” property is changed. This jsFiddle demonstrates the issue. Click either of the buttons a few times and inspect the window to see one “jqx-resize” div for every button click.

    Thanks.

    JqxWindow duplicating divs #69621

    Nadezhda
    Participant

    Hello mschecht,

    Thank you for the feedback. We will investigate the reported behavior and if we reproduce it, we will create a work item about it.

    Best Regards,
    Nadezhda

    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.