i'm struggling trying to change the size units of an overlayTrigger's popperConfig from px to em in react (& react bootstrap) and can't seem to find any docs that can help. Any idea on how i can achieve this? Of course, overriding in css is always possible, but cannot seem to find a way to do that either without console errors... Any help would be much appreciated!
<OverlayTrigger
trigger={['hover', 'focus']}
placement="bottom"
overlay={popover}
defaultShow={true}
container={navContainerRef.current}
popperConfig={{
modifiers: [
{
name: 'offset',
enabled: true,
options: {
offset: [0, 64]===> 64px in em's <====
}
},
],
}}
>
<NavLink to={link} className={linkClassName}>{linkTitle}</NavLink>
</OverlayTrigger>