First I want to thank you for making such a great component, you saved me a lot of time.
While using react-timeline-editor I noticed something strange when timeline gets longer ( for examplescaleCount=10000, scaleWidth=100,scaleSplitCount=10 ), the timebar started to scroll much faster for some reason.
Then I noticed that problem goes away if I set scaleSplitcount to 1.
After some digging, the problem was narrowed down to instantiating the Grid component from react-virtualized. \
Namely, since estimatedColumnSize was not passed down, it allocated much longer width than necessary in this case.
This PR contains fix for it.
You can also review differences in behaviour of current reat-timeline-editor vs the fixed one on following links:
Hi there,
First I want to thank you for making such a great component, you saved me a lot of time.
While using
react-timeline-editor
I noticed something strange when timeline gets longer ( for examplescaleCount=10000
,scaleWidth=100
,scaleSplitCount=10
), the timebar started to scroll much faster for some reason.Then I noticed that problem goes away if I set
scaleSplitcount
to 1.After some digging, the problem was narrowed down to instantiating the
Grid
component fromreact-virtualized
. \ Namely, sinceestimatedColumnSize
was not passed down, it allocated much longer width than necessary in this case.This PR contains fix for it.
You can also review differences in behaviour of current
reat-timeline-editor
vs the fixed one on following links:Let me know if I can help you in any other way
Best regards, Mirko