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

Timeline - Select and focus are not working properly with vertical scroll #3389

Open
nithinbandaru1 opened this issue Aug 24, 2017 · 3 comments

Comments

@nithinbandaru1
Copy link

nithinbandaru1 commented Aug 24, 2017

There is an option to select and focus an item in timeline:
http://visjs.org/examples/timeline/interaction/animateWindow.html

Problem 1: If there is a vertical scroll(Have many groups). I am expecting the timeline to not just horizontally scroll to the element but also vertically scroll to the element position.

Problem 2: If the item is very zoomed-out(very small in size) and there are many other items around it. I can't easily find it. I am expecting it to zoom-in little bit so that the item will be having some minimum width which makes it more visible to the user.

Is there any work around or any small change to plugin I can make to achieve this two functionalities.

Need: I am displaying many items of smaller in size and to many come one after another making this select and focus functionalities useless for navigation in timeline.

@nithinbandaru1
Copy link
Author

@yotamberk I think this one should be labeled as a bug or and issue or a problem...The feature doesn't work exactly as it should be working.

@mikeyc7m
Copy link

vertical position on focus is an issue for me too. i tried to correct the position with jquery but the timeline just discards it.

nathanboktae pushed a commit to nathanboktae/vis that referenced this issue Jul 17, 2018
nathanboktae pushed a commit to nathanboktae/vis that referenced this issue Jul 17, 2018
@yotamberk
Copy link
Contributor

I've now branched out to a new fork of my own including only Timeline.
I've applied a fix for this here: https://github.com/yotamberk/timeline-plus
and can be used via npm here: https://www.npmjs.com/package/timeline-plus

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

3 participants