pacificclimate / weather-anomaly-tool

0 stars 0 forks source link

Disable month, year selectors while data loading? #13

Closed rod-glover closed 6 years ago

rod-glover commented 7 years ago

This would prevent selecting data faster than it can be loaded and viewed.

There is a technical issue to be addressed here: The month and year sliders update their respective state values continuously as they are moved. This would disable them immediately and wrongly for a multi-value slide (kinda the whole point). A change will have to be made to make them update only on slide end. There are sufficient hooks for this in the slider tool. It will have to be wrapped in a parent component to capture the intermediate values and only pass up the end-slide value.

rod-glover commented 7 years ago

Also disable variable selector