namespace-ee / react-calendar-timeline

A modern and responsive react timeline component.
MIT License
1.91k stars 613 forks source link

Dragging item scrolls the timeline #907

Open domind opened 1 year ago

domind commented 1 year ago

Describe the bug Dragging or resizing item causes timeline to scroll, at least on beginning of drag movement.

To Reproduce This can be reproduced also in official example https://codesandbox.io/s/q3rkx1478q Just drag or resize some item an check that whole timeline scrolls for 1-2px.

Expected behavior Timeline should not scroll when item is dragged or resized.

Screenshots drag problem.webm

Library Version 0.28.0

Desktop (please complete the following information): 22.04.1-Ubuntu Firefox 112.0.2 (64 bit) and Chrome 107.0.5304.110