Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Lookup dropdown does not appear #8

Open
mintotsai opened this issue Feb 8, 2019 · 2 comments
Open

Lookup dropdown does not appear #8

mintotsai opened this issue Feb 8, 2019 · 2 comments
Labels
slds-bug SLDS Bug impacting this project wontfix This will not be worked on

Comments

@mintotsai
Copy link

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;
}
@pozil
Copy link
Owner

pozil commented Feb 27, 2019

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 pozil added wontfix This will not be worked on slds-bug SLDS Bug impacting this project labels Feb 27, 2019
@askelia
Copy link
Contributor

askelia commented Sep 26, 2019

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 !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
slds-bug SLDS Bug impacting this project wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants