Skip to main content

Questions tagged [popover-position]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
0 answers
3k views

LWC lightning datatable: Enabling Popover Overflow

I'm creating a lwc datatable with a custom column which contains a button and a corresponding popover. The problem is that the popover will not display as I would like it to, though by playing ...
2 votes
1 answer
1k views

How get coordinates of mouse click regardless of component viewport position

I am trying to perform a classic piece of popover functionality where, when a user moves the mouse over a <div>, the popover should appear with information. Overall, things are working as can be ...
0 votes
1 answer
665 views

setting reference selector of <lighting:OverlayLibrary> popover to a <lightning:datatable>

I am trying to have a popover to display next to a button when that button is clicked in the lighting data table as shown below: As you can see, the pop over appears in the upper left hand corner ...
2 votes
1 answer
981 views

Element top offset based on viewport, but left offset based on parent when trying to position (lightning component)

I am quite confused by this behavior... I have a component for a popover: <div aura:id="popoverWrapper" style="{!'position: fixed; z-index: 10001; top: ' + v.offsetTop + 'px; left: ' + v....
2 votes
0 answers
558 views

Unable to get clientHeight/clientWidth on an html element in lightning

I have a very simple thing here: <div class="slds-truncate"> <a id="popoverToggle" href="javascript:void(0);" data-value="{!v.recordId}" onclick="{!c.togglePopover}" style="position: ...
2 votes
1 answer
2k views

Unable to position LEFT when showing popover using lightning:overlayLibrary

I'm trying to generate a popover but it seems the position is always right. I tried to make the position go left using nubbin class slds-nubbin_right-top, but with this the nubbin arrowhead shows up ...