wicket-dnd
wicket-dnd copied to clipboard
Drop-indicator is in incorrect position when parent element is scrolled
My excuses for the somewhat vague title; but the case is simple: I have a big div that contains a list of elements. These elements are larger that the div, so the div get a scrollbar. When the list is scrolled down, the elements in the list (that are droppable) are moved 'up'. The drop-indicator however still works like the list hasn't scrolled.
Hi Rob,
ListsExample in wicket-dnd-examples shows how that is supposed to work: "position:relative;" makes all positions of the drop-indicator relative to the dropTarget. Perhaps you've added the dropTarget to a markup element outside of the scrolled area?
Ah. That makes sense. Will try to change it. Thanks!