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: On time change called (no before) on item drag #893

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DanielDerma
Copy link

#838

Link issue.

I think that is a misunderstanding with the bug, why it should have been called onTimeChange when I drag i item?

docs:

onTimeChange(visibleTimeStart, visibleTimeEnd, updateScrollCanvas, unit)

A function that's called when the user tries to scroll. Call the passed updateScrollCanvas(start, end) with the updated visibleTimeStart and visibleTimeEnd (as unix timestamps in milliseconds) to change the scroll behavior, for example to limit scrolling.

@Ilaiwi
Copy link
Collaborator

Ilaiwi commented Dec 29, 2022

@florianbepunkt @MertHaddad can you help verify this PR please

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

Successfully merging this pull request may close these issues.

3 participants