Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4315
When I drag igDialog, there is an offset from mouse pointer to the dialog header
posted

When I scroll down the browser page in Firefox and Internet Explorer and then I start to drag igDialog, it jumps down and it appears with offset from the mouse pointer and stays this offset during it's dragged.

Parents
  • 4315
    Verified Answer
    Offline posted

    This issue is caused by the fact that igDialog uses jQuery UI draggable framework and there is a bug in its version 1.10.3. If you scroll down the browser page and then start to drag the dialog, it jumps down and the offset is the same pixels as the scrolled offset. It's recommended if it's not necessary to use version 1.10.3, to use older or newer version of the framework. The issue is not presented in 1.10.2, but if version 1.11.0 is available and you can use it, just do it, because the bug is fixed there. If this is not proper solution for your case you can also follow the workarounds proposed in the jQuery UI ticket.

Reply Children
  • 4315
    Offline posted in reply to Charles Krisak

    Hi, Charles.

    To be honest I didn't try the workaround, when I made the post. Now when I try it with jQuery UI 1.10.3 and replace the both occurrences the following code:

    if (!this.offset.scroll) {

    ...with the proposed solution, then it doesn't work again. This means that it's better to use version 1.10.2 or wait the new 1.11.0. This is the preferred solution and in other side modifying the jQuery UI code may lead to other problems.

    Thanks for posting in our forum!

    Best regards,

    Nikolay Alipiev