Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop-indicator is in incorrect position when parent element is scrolled #12

Open
RobAu opened this issue Apr 8, 2015 · 2 comments
Open

Comments

@RobAu
Copy link

RobAu commented Apr 8, 2015

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.

@svenmeier
Copy link
Owner

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?

@RobAu
Copy link
Author

RobAu commented Apr 29, 2015

Ah. That makes sense. Will try to change it. Thanks!

@RobAu RobAu changed the title Drop-indicator is in incorrect position when elemend is scrolled Drop-indicator is in incorrect position when parent element is scrolled May 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants