-
Notifications
You must be signed in to change notification settings - Fork 385
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
Scroll #1
Comments
I imagine you would have to do something very roughly like this.. just written in crappy-tuesday-morning-pseudo-code.
Of course it's bound to be more complicated because all active dragging elements will be triggering the scrolly script, so could cause some jittering and general usability hell. Some things to consider I guess would include:
I haven't seen the jQuery UI's implementation, but I imagine they've come up with some clever. After using this with your packery library I can see this being a useful addition. Also great job on the lot, I'm using packery and isotope in a project and getting extra brownie points from the manager. Wohay! |
Also interesting observation: IE8 appears to scroll the body automatically when dragging past the browser edge. |
Hate to be a bumper, but this would be a great feature. |
+1 for this feature |
I agree, would be a great feature. |
+1 |
1 similar comment
+1 |
+1 need this right now |
+1 |
1 similar comment
+1 |
+1 Any idea how to do that? |
β¦ling Drag window scrolling
I've made a fork from draggabilly that implements scrolling inside another element, autoscrolling and scalling (that I needed for a project). It's not perferct and it won't account for multiple dragging elements yet, but you guys can help me to improve :) |
Any progress on this? I'm about to have to build my own implementation of it for our project using packery with draggabilly |
^^ Any update @Jordan4jc? I'm about to do the same |
@chrisgrovers no, I haven't done anything with it yet, but I'll have to here soon. |
Bump -- has there been, or is there likely to be, any progress on this? Just checking... |
If anyone else is interested in this, I've implemented as a couple of function calls to be called in Its TypeScript code and its offered as public domain - do as you will with it.
|
When you drag an element close to the viewport's edge, it should scroll -- if enabled.
Add a π reaction to this issue if you would like to see this feature added. Do not add +1 comments β They will be deleted.
jQuery UI Draggable has some nice options for this: scroll, scrollSensitivity, and scrollSpeed.
A possible awkward scenario involves when you have multiple dragging elements, one of the is ready to trigger scroll, but then another is at an opposite edge. Ideally the scroll should only be triggered while keeping every dragging element in the viewport.
The text was updated successfully, but these errors were encountered: