2

Is there a way to remove the vertical scrollbar from my aura component which implements force:lightningQuickAction? I would like to keep the upper section fixed and make only the lower content scrollable. I tried:

.THIS .scrollable {
overflow:hidden;

} But it does not work. Adding !important has also no effect.enter image description here

1
  • 1
    Why don’t you make your own component using the recordeditform base component? Hacking the css of namespaced components is never a good idea as they are prone to have their selectors changed with updates.
    – glls
    May 17, 2019 at 12:49

1 Answer 1

1

The soultion is to add the following to your *.cmp file

<aura:component
 <aura:html tag="style">     
     .slds-modal__content{  
       overflow-y: hidden !important;  
     } 
 </aura:html>
 ...
</aura:component>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .