You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
The library is reporting a complete render one tick too early.
To Reproduce
Add a breakpoint or log statement to the body of the onRenderChange callback for a chart.
Expected behaviour onRenderChange should only be called with true when the chart has been rendered to the canvas. Instead, it is being called a tick before the chart is drawn.
Screenshots
Screen.Recording.2023-08-02.at.10.14.03.AM.mov
Look for "visualization took to render after data received" in the above recording ^^. It is logged before the chart is visible.
Version (please complete the following information):
OS: OSX
Browser: Brave, Safari
Elastic Charts: 59.1.0
Additional context
This behavior throws off our performance measurements, making it look like we're rendering the chart faster than we actually are.
Describe the issue
The library is reporting a complete render one tick too early.
To Reproduce
Add a breakpoint or log statement to the body of the
onRenderChangecallback for a chart.Expected behaviour
onRenderChangeshould only be called withtruewhen the chart has been rendered to the canvas. Instead, it is being called a tick before the chart is drawn.Screenshots
Screen.Recording.2023-08-02.at.10.14.03.AM.mov
Look for "visualization took to render after data received" in the above recording ^^. It is logged before the chart is visible.
Version (please complete the following information):
Additional context
This behavior throws off our performance measurements, making it look like we're rendering the chart faster than we actually are.
The problem may originate with this change.
Errors in browser console
None