Activity Forums Salesforce® Discussions How can I make lightning component scrollable in Salesforce?

  • How can I make lightning component scrollable in Salesforce?

    Posted by Anuj on September 22, 2020 at 2:12 pm

    How can I make lightning component scrollable vertically and horizontally in Salesforce?

    Udit replied 3 years, 7 months ago 3 Members · 2 Replies
  • 2 Replies
  • Anjali

    Member
    September 22, 2020 at 2:28 pm

    ui:scrollerWrapper creates a container that enables native scrolling in the Salesforce app. This component enables you to nest more than one scroller inside the container. Use the class attribute to define the height and width of the container. To enable scrolling, specify a height that's smaller than its content.

  • Udit

    Member
    September 23, 2020 at 2:57 pm

    By using UI:scrollerWrapper you can make your component scrollable.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos