Attempting to incorporate a Popover with overlay trigger from React - Bootstrap has proven to be quite the challenge.
If you check this image, you'll see what it's supposed to look like.
This is the code I used:
var {Button, Overlay, OverlayTrigger, ButtonToolbar, Popover} = require('react-bootstrap');
...
<ButtonToolbar>
<OverlayTrigger trigger="click" placement="left" overlay={<Popover title="Popover left"><strong>Holy guacamole!</strong> Check this info.</Popover>}>
<Button bsStyle="default">Holy guacamole!</Button>
</OverlayTrigger>
</ButtonToolbar>
Upon inspecting the elements, I noticed that my implementation lacks the proper styling with the .popover
class. Furthermore, there seems to be a missing pseudo ::after
element right after the arrow component compared to the original example on the react bootstrap website. Despite including all necessary components as shown in this line:
var {Button, Overlay, OverlayTrigger, ButtonToolbar, Popover} = require('react-bootstrap');
The little arrow of the Popover is not visible in my version. What could be causing the disappearance of ::after
? How can I ensure that the triangle CSS for the arrow is displayed correctly in my implementation?