Closed hamilton closed 3 years ago
The brushing functionality doesn't really have good guardrails, so things get out of hand pretty quickly.
Brushing out of range will pretty much break the app in weird ways, so we should be guarding against that.
A PR that fixes this will ensure:
a. date ranges that are < 1 day should not cause a state update. b. by default, brushing should never be able to pass the x extents.
The brushing functionality doesn't really have good guardrails, so things get out of hand pretty quickly.
Brushing out of range will pretty much break the app in weird ways, so we should be guarding against that.
A PR that fixes this will ensure:
a. date ranges that are < 1 day should not cause a state update. b. by default, brushing should never be able to pass the x extents.