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
0answers
15 views

Force Create Record and Edit Record different behavior from overlay

Lightning development question - I am calling e.force:createRecord from a custom overlay - It automatically closes the custom overlay dialog and then gives me the record creation overlay Same ...
0
votes
1answer
50 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 ...
0
votes
0answers
31 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 ...
1
vote
1answer
31 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 ...
0
votes
0answers
49 views

lightning:overlayLibrary popover styling

my popover is showing a white diamond instead of a blue arrow after specifying slds-nubbin_left class in cssClass attribute. Please see below my code. Component code: <aura:component > ...
0
votes
1answer
204 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"/> &...
1
vote
1answer
443 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:...
1
vote
0answers
139 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 ...
1
vote
0answers
97 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. ...
6
votes
3answers
701 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 ...
0
votes
0answers
70 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}"/> ...
1
vote
1answer
208 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 ...
1
vote
0answers
174 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 ...
1
vote
1answer
166 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:...
0
votes
0answers
727 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}...
2
votes
0answers
227 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 ...
3
votes
2answers
616 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 ...
1
vote
0answers
102 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 ...
0
votes
1answer
449 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....
2
votes
1answer
2k 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 (...
5
votes
0answers
263 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('...
0
votes
1answer
1k 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 ...
6
votes
2answers
471 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 ...
1
vote
1answer
707 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 ...