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

Fix second time axis not using configured moment when added after the fact #1641

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

bpfoster
Copy link
Contributor

@bpfoster bpfoster commented May 9, 2023

This fixes #1640. Not sure if there's a better approach, but it appears that if you initialize the timeline with a configured moment, and then after the fact set the orientation to both, the full options are never passed to the TimeAxis.

A minimal reproduction is available in the issue.

@yotamberk yotamberk merged commit 805b1f1 into visjs:master Jun 19, 2023
@bpfoster bpfoster deleted the issue-1640 branch July 6, 2023 15:49
@vis-bot
Copy link
Collaborator

vis-bot commented Oct 27, 2023

🎉 This PR is included in version 7.7.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Setting orientation to 'both' via setOptions does not use configured moment
3 participants