Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't put several children #71

Open
djcaesar9114 opened this issue Jul 23, 2022 · 0 comments
Open

Can't put several children #71

djcaesar9114 opened this issue Jul 23, 2022 · 0 comments

Comments

@djcaesar9114
Copy link

Description of the bug
I have 2 children inside my Popper, and I have an error in the console:
[Popper]: The <Popper> component expects only one child element at its root. You passed 2 child nodes.

Reproduction link
Very simple, see below

To Reproduce

    <Popper
      arrow
      hover
      content="MY CONTENT">
      <span>First</span>
      <span>Second</span>
    </Popper>

Expected behavior
I expect the Popper to apply to all the children.

Screenshots
None, Ithink it's self-explanatory.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant