Skip to content

Bubble text not updated despite change in displayText in data prop #14

@riwu

Description

@riwu

Seems like an SVG manipulation issue with bubble-label, I had to add

    props.data.forEach(({ displayText }, index) => {
        ((labels[0] || [])[index] || {}).textContent = displayText;
      });

to the end of update(el, props) in ReactBubbleChartD3.js to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions