Skip to content

Initial rendering of 3rd party components interacting with the DOM #251

@PK1A

Description

@PK1A

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions