I have a parent aura component in which I have <lightning:overlayLibrary aura:id="overlayLib"/>
included. I want the popover to be displayd next to a DOM element which exists inside a child LWC component.
When calling showCustomPopover() I attempt to pass a selector to 'referenceSelector' in order to identify the target element. I tried it with id selector, data selector as well as class selector. For example:
referenceSelector: `.aid${recordId}`
But it doesn't seem to work. Does anyone have a suggestion?