question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Popup can only have one child?

See original GitHub issue

Is Popup can only one child intentional?

below code will result an error

<Popup>
   <A />
   <B />
</Popup>

to fix this I need to wrap the children in a div

<Popup>
   <div>
        <A />
        <B />
    </div>
</Popup>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alex3165commented, Oct 31, 2016

I will have a look it should be straightforward 👍

0reactions
alex3165commented, Nov 6, 2016

Hum I am not too sure this would solve the issue. If you have a good idea of how to do it, I am happy to review and eventually merge a PR for this. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

GWT SimplePanel can only contain one child widget when ...
If there are widgets like PopupPanel that only support one child, just wrap the content into one of these panels.
Read more >
Popup.Child Property (System.Windows.Controls.Primitives)
Gets or sets the content of the Popup control. ... A Popup can only have one UIElement as a child, but that child...
Read more >
Kivy: Popup can have only one widget as content
I understand that a popup can only have one widget as it's content, however if I am only passing a GridLayout as a...
Read more >
Kivy Popup Widget -already has a parent widget error
A widget child can not be moved around. It has to be detached from its parent, before being added to a new parent....
Read more >
WPF Popup - C# Corner
A Popup control can have only one child. The following code snippet adds a text block to the popup control. ... If you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found