Skip to content

Bug - AlertGroup - React does not recognize appendTo prop error #8823

@maxcao13

Description

@maxcao13

Describe the problem
Adding the appendTo prop to an AlertGroup results in a console error of

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

How do you reproduce the problem?
https://codesandbox.io/s/elegant-tree-og19q4?file=/index.js

Expected behavior
There should be no error since appendTo is a valid prop on the AlertGroup component.

Screenshots
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions