Closed cbmono closed 6 years ago
Attempt to fix this issue: Append to node other than body
Pass appendTarget as a property and specify the query selector where you want to append the Popover. In case of classes (ie. "#app > .foo"), it will append the Popover to the first found child.
appendTarget
"#app > .foo"
return ( <Popover appendTarget="#my-div-container" // <----- isOpen={isOpen} body="Boo!" > // ... </Popover> )
@cbmono Thanks for putting this together! Looks good to me. Lets get this out in the next release.
Attempt to fix this issue: Append to node other than body
Usage
Pass
appendTarget
as a property and specify the query selector where you want to append the Popover. In case of classes (ie."#app > .foo"
), it will append the Popover to the first found child.