sfdc-ui-lookup icon indicating copy to clipboard operation
sfdc-ui-lookup copied to clipboard

Lookup dropdown does not appear

Open mintotsai opened this issue 6 years ago • 2 comments

Putting this here in cases anyone else runs into the same issue.

When using the Lookup in a div with class slds-modal__content, the dropdown does not appear.

<div class="slds-modal__content">
    <c:Lookup aura:id="lookup" selection="{!v.selection}" onSearch="{!c.lookupSearch}" label="Search"  />
</div>

I discovered that adding the following css fixes the issue.

.slds-modal__content{
    overflow: initial;
}

mintotsai avatar Feb 08 '19 14:02 mintotsai

Hi @mintotsai thanks for reporting that. I'll leave that issue open so that others can find it but I will flag it as a SLDS bug.

pozil avatar Feb 27 '19 11:02 pozil

Hi pozil and mintotsai,

I went through the same kind of issue (dropdown did not appear). My c:Lookup was like

<dd class="slds-item_detail slds-truncate" >
        <c:Lookup selection="{!v.selection}" ... />
</dd>

No bug here, since slds-truncate is a overflow: hidden, remove it was enough to solve the problem, but it would have been much harder to find without mintotsai comments. Great job by the way !

askelia avatar Sep 26 '19 14:09 askelia