Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [lightning-overlaylibrary]

For questions concerning the lightning:overlayLibrary component. This component requires API version 41.0 and later.

Filter by
Sorted by
Tagged with
0 votes
1 answer
705 views

Remove focus from close button on lightning:overlayLibrary modal

I have a flow modal that is generated via the lightning:overlayLibrary showCustomModal(). Is it possible to remove the default focus (or at least hide the focus with CSS) that is applied to the close ...
Trevor Gill's user avatar
0 votes
1 answer
236 views

Overlay Library - using referenceSelector to reference Element in Child Component

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 ...
renehahn's user avatar
0 votes
1 answer
485 views

How to get aura component from handler function without component parameter available

I have a lightningOverlayLibrary that generates an LWC component in its body. The LWC dispatches a close event that the aura component handles. The aura component needs to close the ...
TemporaryFix's user avatar
  • 2,946
2 votes
1 answer
3k views

Overlay Library Popup for LWC?

When developing Aura components in Lightning Experience, you can use the Overlay Library to create a popover (via showCustomPopover()). Is there an equivalent for LWC, or can I only use this library ...
jbyrd's user avatar
  • 641
0 votes
1 answer
520 views

Salesforce Overlay Library Workaround

The Lightning component are built using overlay library , However to reuse the same in visualforce page we have to do workaround which includes nested component or dynamic creation of component. Is ...
AvengerSF's user avatar
  • 212
0 votes
1 answer
658 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 ...
Richy's user avatar
  • 1
1 vote
1 answer
229 views

App Event Fired From Modal Footer Not Being Handled Using showCustomModal()

I'm using OverlayLibrary to display a custom modal body and footer. I have a generic footer that fires an event called "EFLModal_CancelClicked". I have the component that displays in the body set up ...
Jason Benkert's user avatar
0 votes
1 answer
849 views

Error in lightning:overlayLibrary. PromiseRejection: Cannot read property 'setParams' of undefined

I'm trying to add a modal to my lightning component, but receiving below error. Home Component <aura:component access="global" > <lightning:overlayLibrary aura:id="overlayLib"/> &...
Sudh's user avatar
  • 33
1 vote
1 answer
2k views

Lightning OverlayLibrary Background Color for Header and Body

I just want to modify the background color of whole header section and body of my lightning overlayLibrary. here is my code : Popup Component <aura:component implements="forceCommunity:...
boy george's user avatar
1 vote
0 answers
227 views

Lightning Overlay library access attribute issues

I have managed package where we are using lightning:overlayLibrary to render the modals, we've installed our package in many customers org. We've followed our best practices to specify access ...
Yaswanth Tikkisetti's user avatar
1 vote
0 answers
200 views

Alternative to lightning:overlayLibrary in LightningOut

I have a Visualforce page which loads a Lightning Aura Component using LightningOut. The Lightning component uses a <lightning:overlayLibrary component, which is not supported in LightningOut. ...
Robs's user avatar
  • 9,366
6 votes
3 answers
2k views

component.find("overlayLib").notifyClose(); not working inside apex controller's returned promise

I have a parent component with the <lightning:overlayLibrary aura:id="overlayLib"/> component added. The parents controller creates an instance of the modal component, assigns it to the body ...
smohyee's user avatar
  • 3,846
0 votes
0 answers
100 views

.show() method is missing from Lighting Overlay Library does nothing

So I've got this component which seems to be reasonable use: <aura:component implements="lightning:isUrlAddressable"> <aura:handler name="init" value="{!this}" action="{!c.init}"/> ...
dzh's user avatar
  • 4,145
1 vote
1 answer
427 views

Close Modal overlay bug?

I've got a modal with a photo selector component. I have the overlay library declared in the component contained in the modal: <lightning:overlayLibrary aura:id="photoSelector"/> There is a ...
PatMcClellan__c's user avatar
1 vote
0 answers
405 views

How to add CSS classes to a lightning:overlayLibrary that is already open?

I am using a lightning:overlaylibrary component to display a modal dialog where a user can perform different actions. Based on the user's interaction and the data he provides, a follow up form appears ...
Christoph's user avatar
  • 1,022
1 vote
1 answer
371 views

Unable to Call Apex-Controller Method in Modal-Footer Component

I have a modal with a footer. The footer is just for Cancel and Save buttons, and their respective JS functions. Modal Markup <lightning:overlayLibrary aura:id="overlayLib"/> <lightning:...
Gabriel Rivera's user avatar
0 votes
1 answer
5k views

Onchange Function for Lightning:inputField Automatically Runs (Causing an Error) when Loaded in a Modal

I have a component that opens in a modal. Modal/Button Markup <lightning:overlayLibrary aura:id="overlayLib"/> <lightning:button name="modal" label="Create Pet" onclick="{!c.handleShowModal}...
Gabriel Rivera's user avatar
2 votes
0 answers
610 views

How can I override standard modal css in lightning:overlayLib modal instantiation?

I am running into an issue where part of my component within the modal generated by lightning:overlayLib requires the user to scroll. I want the div that appears to display over the top of the footer ...
Drew Peterson's user avatar
3 votes
2 answers
2k views

OverlayLibrary Popovers Glitching With Focusable Element

I created a component that displays a list of related records. When the user hovers over a record, a popover is opened showing a preview of the record using the lightning:overlayLibrary component. The ...
Danny Singh's user avatar
1 vote
0 answers
312 views

How can I pass events from the modal body to the footer using lightning:overlayLibrary?

I'm trying to fire an event in the modal body, and have the footer take action on the event. I have tried creating both an APPLICATION and COMPONENT event. I have not had any success. Code below. Any ...
Drew Peterson's user avatar
1 vote
1 answer
1k views

Can I update the Header, Body, or Footer of a lightning:overlayLibrary component? [closed]

I have created a custom modal and I would like to update the footer of this component after the component has been created. Is there a way to do this? openModal : function(component) { $A....
Shuaib Ahmed's user avatar
2 votes
1 answer
5k views

Iterating over List<String> in <aura:iteration>

So, I have been losing my mind over this for a few days now. Scenario: I have a component that displays a custom modal. this a snippet of code, that takes care of that showModal: function (...
Yevgen Ponomarenko's user avatar
5 votes
0 answers
815 views

Lightning popover - show nubbin in the right side

I am using popover with lightning:overlayLibrary. The standard side of the nubbin is on the left. and looks like this: I am trying change it to right. This is how I'm using it: component.find('...
Ester Shira Zargari's user avatar
0 votes
1 answer
3k views

Change width of modal using overlayLibrary [duplicate]

I have a component that uses the overlayLibrary to pop up a custom modal with a component inside of it. I extend this component via other components so that I can reuse the overlay library feature ...
Jason Benkert's user avatar
6 votes
2 answers
995 views

Modals (overlayLibrary) and multi line strings

I am trying to output a regular multiline string into a modal component. Somehow, SFDC is refusing to break it down. It either shows the html as text (samples 4/5) or ignores the line break and shows ...
Sebastian Kessel's user avatar
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 ...
VarunC's user avatar
  • 5,950