replot / replot-treemap

replot-treemap: Intelligent and customizable treemap components for react.
http://replot.io/treemap/
MIT License
1 stars 0 forks source link

Drop shadow needs transition #5

Closed MFarejowicz closed 6 years ago

MFarejowicz commented 7 years ago

For nested treemaps, a drop shadow emerges to give the active treemap a greater focus. This dropshadow is done with inline CSS, and it appears right away, even while the nested treemap is still translating due to react-motion. Ideally, this dropshadow would fade in, but unfortunately I don't know how to do this, even after extensive searching

sanjaypojo commented 6 years ago

@MFarejowicz, I think we need to give this another shot now. I have some basic workarounds in mind, lets discuss!

MFarejowicz commented 6 years ago

Made it work with a series of setTimeouts and state changes!