Skip to content

Bug: Reference components label prop fails to render a custom component #6004

Description

@davesnx
  • React 19.1
  • recharts 3.0.0

What is the current behavior?

React does not recognize the `labelRef` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `labelref` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

https://codesandbox.io/p/sandbox/reference-line-ifoverflow-extenddomain-forked-5qnk83

What is the expected behavior?

Render a valid element

Metadata

Metadata

Assignees

Labels

bugGeneral bug label

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions