Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

dragging between groups with scrolling #1156

Open
datom opened this issue Aug 3, 2015 · 7 comments
Open

dragging between groups with scrolling #1156

datom opened this issue Aug 3, 2015 · 7 comments
Assignees

Comments

@datom
Copy link

datom commented Aug 3, 2015

Hi,

i have many groups and want to move a item from one group to another. This works fine until the window is big enough to display all the groups at once. But when the window is smaller and i want do move a item from one group to another, its no more possible because its always scrolling and no more dragging.

For example:
http://visjs.org/examples/timeline/other/groupsPerformance.html

run: timeline.setOptions({'height': '100px'})

now try to move i item between the groups. it always scrolling and not moving the item.

Dragging horizontal works right but vertical is not as it should be.

Regards

@josdejong
Copy link
Contributor

Thanks, good point that should be fixed.

Besides that, it would be nice if the timeline automatically moves horizontally/vertically when you drag an item close to the border of the window, in case you want to drag it to some position currently not visible.

@datom
Copy link
Author

datom commented Aug 3, 2015

yes that would be nice. i think on touch devices it would be very helpful

@datom
Copy link
Author

datom commented Sep 12, 2015

any news when this will be fixed?

@josdejong
Copy link
Contributor

I'm not sure. We're kind of busy ourselves, I can't make an estimation.

Anyone can jump in to help out here though, it's an open source project after all :)

@ghost
Copy link

ghost commented Jul 20, 2016

Sorry for the butchered commit history!

I had the same issue, I've created a pull request #1976 for the solution that worked for me

mojoaxel pushed a commit that referenced this issue Aug 9, 2016
Add flag to check whether an item in the Itemset is currently being dragged
@yotamberk yotamberk self-assigned this Nov 30, 2016
@yotamberk
Copy link
Contributor

This issue is resolved with #1976 or with using option.verticalScroll

@mojoaxel
Copy link
Member

This issue is resolved with #1976 or with using option.verticalScroll

Sorry, but this still doesn't work.

@mojoaxel mojoaxel reopened this Dec 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants