You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My timeline has several rows and exceeds the window height. The timeline window can be moved up- and downwards to see all items.
I experienced the issue that all setRange()-related functions (such as zoomIn(), zoomOut()) are not working when this task is animated (as set per default). When deactivating animation, everything worked fine.
I come to the conclusion that the bug appears when the user moves the window vertically before using the zoomIn() function. In that case, timeline.range.props.touch.dragging is internally set to true. That causes the animation to stop, as seen here in the source code:
The text was updated successfully, but these errors were encountered:
dsentker
changed the title
setRange() is not working if timeline area was swiped before
setWindow() is not working with animation if timeline area was swiped before
Oct 30, 2023
My timeline has several rows and exceeds the window height. The timeline window can be moved up- and downwards to see all items.
I experienced the issue that all setRange()-related functions (such as zoomIn(), zoomOut()) are not working when this task is animated (as set per default). When deactivating animation, everything worked fine.
I come to the conclusion that the bug appears when the user moves the window vertically before using the zoomIn() function. In that case,
timeline.range.props.touch.dragging
is internally set to true. That causes the animation to stop, as seen here in the source code:Due to the "swipe" motion on the device, the "drag" process was not completed. So timeline gets stuck and it is not possible to perform the action.
Since I'm not very good in JavaScript, I don't know exactly where to start here. An approach would be analogous to my workaround:
The text was updated successfully, but these errors were encountered: