I have a lightning component in a modal popup and that lightning component is having an input lookup field which opens another lightning component(search result box in screenshot).

<Parent Lightning Component>
 <Modal Pop up>
  <ScreenShot Component>
   **<lookup Search Result Component/>**
  </ScreenShot Component>
 </Modal Pop Up>
</Parent Lightning Component>

The problem: the search box is not increasing the size of modal popup and going inside it.

Is there any way to make component come in front or increase the modal size dynamically (tried Z-index but didn't work)?

enter image description here


  • Can you share your Code?? Component and css??? You have to make changes in CSS which will give you preferred output. – jayasuriya janarthan Jun 28 '19 at 11:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.