Results 1 to 3 of 3

Thread: Window drag

  1. #1

    Default Window drag

    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.

    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 User
    Join Date
    Oct 2018



    As far as I can see is you are maximize function of window class and you handled maximize event as well where you are trying to set window size. So the default behavior of window's maximize scenario is - if window is in maximize state, you can not drag that. So possibly that might be the reason why its no more draggable once you called maximize function of it.
    Follow the below fiddle -

    Its same just 2 lines different. The popup which is opened by clicking on first click button, rather than calling maximize function of grid class I am firing 'showwin' event on window and also where you handled maximize event at the top, i rename that to handle our custom event - 'showwin'. Now first popup seems working fine.

  3. #3


    Hello Praveen,
    Thank you for the response.It will solve my problem.

Posting Permissions

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