Animation is not properly updated after a category is selected
See original GitHub issueThere is an unexpected animation behavior related to the interaction of filtering with widgets in cartoframes. After selecting one category in one widget, the time series widget histogram is redrawn but the animation does not adjust to the new state.
STR
- Go to https://carto.com/blog/real-estate-data-tinsa-digital/
- Check cartoframes map
- Check the animation
- Select a category
- Check again the animation
Current Result
The yellow geometries are popping up ca. 1971.
After 1971-1980
category is selected. The histogram of the time series widget is redrawn. But the animation is still behaving as nothing has been filtered. The geometries appear not in 1971 based on the current state of the widget, but around 1977. If you check it is the same point that the 1971 mark was set in the previous state.
Expected Result
The geometries should start popping up at the very beggining of the animation (bar) after the selection.
Environment
Ubuntu 18 Chrome v79
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Hi @ramiroaznar 😃 As you said, the animation has changed. This specific issue has been solved, but it’s true that we need to be able to configure the animation through CARTOframes. In this blog post example, the problem is that the animation doesn’t hold.
For this purpose, we’ve opened this issue, in order to use an animation helper in the styles.
Thank you very much! 😃
This issue was closed automatically after the merge, sorry. The solution will be included in the next Airship release.