react-timeline-editor
react-timeline-editor copied to clipboard
What does time_area click constraint mean?
Hello! What's mean this constraint? I cant to give click event on fullwidth screen after scroll
https://github.com/xzdarcy/react-timeline-editor/blob/47a1580a11ce8a5a9d8e6712651ea13910d20094/src/components/time_area/time_area.tsx#L78
Sometimes it's clickable, sometimes not, for example open/close Devtools change behavior
As far as I see there is an error in the calculation. The scrollLeft is added to 'left' beforehand but then also substracted from the righthand calculation here. So the click-event is always off by the current scrollLeft and fails towards the right end of the timeline. A current workaround for me is to not set maxScaleCount, then it's infinite in the calculation. That causes other issues for me but they are more manageable..