Results 1 to 2 of 2

Thread: Window drag issue

  1. #1

    Default Window drag issue

    Hi Guys,
    recently I observed one issue for windows dragging when it is minimized and then restored.
    I'm attaching a sample fiddle where we can see the issue.


    https://fiddle.sencha.com/#view/editor&fiddle/33ga
    Steps:
    1. Click on button
    2. minimize it(Draggable icon will come)
    3. Now restore it(draggable will be not visible )

    If anybody knows why this is happening, please share the solution.

  2. #2
    Sencha Premium User
    Join Date
    Apr 2015
    Posts
    7

    Default

    Hi sravanithalapanti,

    although admittedly a little bit late to the show.

    For anyone who is still concerned:

    The reason is that to emulate the restore behaviour maximize() is being called in the restore tool and afterwards a maximize listener handles the resize to the appropriate size.

    As can be seen in the following snippet from maximize() it disables dragdd.
    Code:
    
    if (me.dd) {
                    me.dd.disable();
     
                    if (header) {
                        header.removeCls(header.indicateDragCls);
                    }
    }
    So it has to be reenabled like in the restore function of Ext.window.Window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •