React-bootstrap: Container for a popover

Created on 10 Nov 2014  路  3Comments  路  Source: react-bootstrap/react-bootstrap

I am trying to creat a custom trigger like this http://react-bootstrap.github.io/components.html for a popover.

How can I add a container, so the popover has a position related to the trigger button?

Most helpful comment

Not working anymore.

All 3 comments

OverlayTrigger takes a prop call container that it gets from OverlayMixin. container is a custom prop type that accepts a DOMNode or an object with getDOMNode().

Example: http://jsfiddle.net/kLtc4zb1/3/

The popover gets added to the proper container and not the default document.body.

Not working anymore.

yes, not working

Was this page helpful?
0 / 5 - 0 ratings