Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lightning-overlaylibrary]

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

0
votes
0answers
29 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
21 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
174 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
34 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
79 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
67 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
58 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
112 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}...
1
vote
0answers
96 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
190 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
30 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
149 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
743 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
132 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
514 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
285 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
305 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 ...