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
This is based on the experience from integrating 3rd-party jQuery component (highcharts) into a #space component. From a brief discussion with @b-laporte it looks like the initial rendering of a component is done in a document fragment which might create problems for 3rd party components that are reading dimensions info directly from the DOM.
For now a work-arround is to wrap the component rendering into a setTimeout statement.
I'm not sure how to flag this issue properly, that is - I don't know if the proper solution is to "fix" a $render method or provide a different callback. Marking it as bug for now as currently one needs to use a work-around to get proper rendering.
The text was updated successfully, but these errors were encountered:
For me that one should be handled by introducing new states callbacks via the component api.
Something like onAttach, onBeforeDetach and onDetach corresponding as you can figure it out to the component lifecycle regarding its insertion and removal in the DOM.
This is based on the experience from integrating 3rd-party jQuery component (highcharts) into a #space component. From a brief discussion with @b-laporte it looks like the initial rendering of a component is done in a document fragment which might create problems for 3rd party components that are reading dimensions info directly from the DOM.
For now a work-arround is to wrap the component rendering into a
setTimeout
statement.I'm not sure how to flag this issue properly, that is - I don't know if the proper solution is to "fix" a $render method or provide a different callback. Marking it as bug for now as currently one needs to use a work-around to get proper rendering.
The text was updated successfully, but these errors were encountered: