nestedSortable icon indicating copy to clipboard operation
nestedSortable copied to clipboard

Items jump up if the window is scrolled down

Open camohub opened this issue 10 years ago • 5 comments

Hi, I have a little problem with jumping items in Chrome. It appears when the window is little scrolled down. When I try to drag item and move, it jumps up and the whole page moves little down. Here si the screenshot: http://web.php5.sk/fora/nestedSortable.png and the sample of code: http://web.php5.sk/DROM.php

jquery is 1.11.1 jquery_ui 1.11.2 nestedSortable 2

Can you help me please?

camohub avatar Feb 10 '15 20:02 camohub

I’m having this problem too. As described, if the window is down a little grabbing and dragging an item results in a windows scroll position jump and the .ui-sortable-helper item being up way too high in the window.

tjdraper avatar Feb 18 '15 15:02 tjdraper

I'm also having this issue - desperate for a fix

mistajase79 avatar Jan 16 '16 22:01 mistajase79

FIXED IT!

I have a parent div wrapping my ordered list element If I put overflow:auto; on this div it stops jumping!

mistajase79 avatar Jan 16 '16 23:01 mistajase79

I was working with a template which has the following CSS:

body {
    overflow-y: scroll;
}

Changing to overflow-y: initial; worked for me.

Maybe it helps someone.

meydjer avatar Aug 10 '16 15:08 meydjer

overflow:auto;

On the container of drag elements, works for me. Tks @mistajase79

ishigami avatar Sep 29 '16 14:09 ishigami