Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Dragging item to edge doesn't scroll parent #430

Open
mcblum opened this issue Feb 23, 2016 · 2 comments
Open

Dragging item to edge doesn't scroll parent #430

mcblum opened this issue Feb 23, 2016 · 2 comments

Comments

@mcblum
Copy link

mcblum commented Feb 23, 2016

Hello.

Thanks for all of your work on this codebase. I've come across a strange situation where dragging a li doesn't cause the page to scroll up, even when the li gets near the top of the page. I tried adding a helper function but it's really choppy. Here is what I'm passing for options:

galleryCtrl.sortableGalleries = { 'ui-floating': true, 'handle' : '.drag', stop: orderGalleries, disableSelection: true, scrollSpeed: 1, scrollSensitivity: 160, containment: "parent" };

Is there anything that I could have done in the HTML / CSS that would break scrolling? We're using Flexbox.

Thanks again,
Matt

@thgreasi
Copy link
Contributor

Hi there.
I think that this is a jquery-ui related issue and you should have better
results if you looked there for answers.
Last time I checked, flexbox support was not in good shape in jquery-ui. Be
sure that you are using the latest available versions.

Thodoris Greasidis
Computer, Networking &
Communications Engineer

@thgreasi
Copy link
Contributor

On the other hand, forking one of the codepen examples to demonstrate your case, could give us the chance to experiment with the issue :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants