-
Notifications
You must be signed in to change notification settings - Fork 78
Chart Range: Range scaling issue #99
Comments
It seems to be related to the clamping done here: barista/components/chart/src/range/range.ts Line 534 in b89786d
When resizing fastly, left is clamped to maxWidth, and width is clamped to maxWidth - clampedLeft, which effectively clamp it to 0. Removing the clamping seems to solve the issue, however this might reintroduce the issue where it's possible to grow the selection outside the chart area |
This issue is stale, because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
@lukasholzer Have you had a chance to take a look at this? |
I guess this is rather edge case-y, we can lower the priority in my opinion |
I think this is an operator issue that skips an emission due to debouncing. @dovidio thanks for your investigation but as you pointed out we need the clamping that nobody can resize the range larger than the highcharts container. |
This issue is stale, because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
Range does not get upscaled correctly if the window is resized to a very small size and then resized very fast to a bigger size.
Check whether the viewport resizer uses the correct operators - we always need the last emission after the debounce time passed
The text was updated successfully, but these errors were encountered: