0

If you click and drag an item from draggable list to the sortable list, the browser's scrollbar will grow or shrink depending on how far right your cursor goes. If you drag off the end of the window, the window will scroll off to the right.

Not sure, why is this happening! Anybody has any ideas?

1
  • 1
    That is the default behavior and not strange, If you won't to stop that, you should set the body(or container) overflows to hidden.
    – Shaunak
    Commented Aug 19, 2013 at 18:54

1 Answer 1

1

specify a containment option in which your element can be dragged around

2
  • I used containment option but still no luck. It still does show the scrollbar!
    – Ashima
    Commented Aug 22, 2013 at 17:38
  • 1
    then it means that your body must be having a width of 100%. try giving a fixed width to your body and specify the body in the containment option Commented Aug 23, 2013 at 5:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.