Activity Forums Salesforce® Discussions How to show dropdown outside the scroll content section with help of CSS property in Salesforce?

  • How to show dropdown outside the scroll content section with help of CSS property in Salesforce?

    Posted by Amresh Tiwari on March 28, 2018 at 2:46 pm

    I have section for which height is 200px and I am using [overflow:auto] property. This [overflow:auto] property is mandatory to our section for scroll content.
    I have a link with text name as country. When I hover on country text, a dropdown becomes visible which has an height of 400px and is shown inside the scroll section.

    Parul replied 6 years, 5 months ago 3 Members · 2 Replies
  • 2 Replies
  • Neha

    Member
    March 29, 2018 at 5:50 am

    Hi Amresh,

    You can post the code and UI screenshot so that it is better to understand the exact issue.

    Thanks..!

    • This reply was modified 6 years, 11 months ago by  Neha.
  • Parul

    Member
    September 20, 2018 at 6:47 pm

    Hi,

    Please take reference from the following code

    <select name='menu'>
    <option value='1'>first item</option>
    <option value='2'>second item</option>
    <option value='3'>third item</option>
    <option value='4'>fourth item</option>
    <option value='5'>fifth item</option>
    <option>........
    <option>........
    //I have many options.....
    </select>

     

    select {
    height:50px;
    overflow-y: scroll;
    }

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Admin Certification 2020 Questions Explained with References - Part II

Video in

How to prepare and pass Salesforce Admin Certification with Practice Exam Questions 2020 practice questions and answers for the Salesforce Administration Salesforce Certified Admin Exam Questions Salesforce Administrator Certification Exam…