palantir / plottable

:bar_chart: A library of modular chart components built on D3
http://plottablejs.org/
MIT License
2.96k stars 224 forks source link

Fix deferred rendering #3415

Closed themadcreator closed 6 years ago

themadcreator commented 6 years ago

The primary cause of incorrect deferred rendering results was that the deferred renderer did not know when a component was rendered except when it triggered the render. Occassionally, direct calls to render would occur and the deferred renderer did not update the css transform. This PR refactors the code so that the component's own render method will reset the deferred renderer to guarantee that it resets the css transform.

blueprint-bot commented 6 years ago

Fix deferred rendering

Demo: quicktests | fiddle

blueprint-bot commented 6 years ago

Fix deferred rendering

Demo: quicktests | fiddle