Skip to content

React does not recognize the textBreakAll prop on a DOM element #3177

Description

@Nefcanto

The issue which is not created via https://recharts.github.io/recharts-issue-helper will be closed immediately.


注意:不是用 https://recharts.github.io/recharts-issue-helper 创建的 issue 会被立即关闭。

Hello

As soon as I started using Recharts (2.3.2 at the moment of writing this issue) I see this error:

react_devtools_backend.js:4012 Warning: React does not recognize the `textBreakAll` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `textbreakall` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    at div
    at Label (https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:18058:23)
    at g
    at https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:5633:24
    at LabelList (https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:18336:20)
    at g
    at https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:5633:24
    at Line2 (https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:25051:5)
    at svg
    at Surface (https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:5565:24)
    at div
    at CategoricalChartWrapper (https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:27924:7)
    at div
    at ResizeDetector2 (https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:10597:24)
    at https://admin.project.local/node_modules/.vite/deps/recharts.js?v=401e0d79:10838:21
    at LineChart (https://admin.project.local/src/Components/Dashboard/LineChart.jsx?t=1673676230067:18:3)
    at Chart (https://admin.project.local/src/Aggregates/Chart.jsx?t=1673676230067:22:3)
    at div
    at Widget (https://admin.project.local/src/Components/Dashboard/Widget.jsx:19:3)
    at div
    at div
    at Section (https://admin.project.local/src/Components/Dashboard/Section.jsx:35:3)
    at div
    at Dashboard (https://admin.project.local/src/Components/Dashboard/Dashboard.jsx:20:3)
    at ProjectDashboard
    at Unify (https://admin.project.local/src/Components/Unify.jsx:19:3)
    at RenderedRoute (https://admin.project.local/node_modules/.vite/deps/react-router-dom.js?v=72ea4741:2684:5)
    at Routes (https://admin.project.local/node_modules/.vite/deps/react-router-dom.js?v=72ea4741:3009:5)
    at MainRouting (https://admin.project.local/src/Panel/MainRouting.jsx?t=1673676230067:26:3)
    at div
    at div
    at div
    at Panel (https://admin.project.local/src/Panel/Panel.jsx?t=1673676230067:36:45)
    at InnerThemeProvider (https://admin.project.local/node_modules/.vite/deps/chunk-JGLZV44L.js?v=4343c9cd:2107:17)
    at ThemeProvider (https://admin.project.local/node_modules/.vite/deps/chunk-JGLZV44L.js?v=4343c9cd:764:5)
    at ThemeProvider2 (https://admin.project.local/node_modules/.vite/deps/chunk-JGLZV44L.js?v=4343c9cd:2115:5)
    at LocalizationProvider (https://admin.project.local/node_modules/.vite/deps/chunk-OUWKNFTI.js?v=4343c9cd:13942:17)
    at Router (https://admin.project.local/node_modules/.vite/deps/react-router-dom.js?v=72ea4741:2956:15)
    at BrowserRouter (https://admin.project.local/node_modules/.vite/deps/react-router-dom.js?v=72ea4741:3367:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs neededIssues that require documentationgood first issueIssues with this label are great for first time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions