[SalesForce] lightning:datatable component cutting off actions drop down menu when it goes past the card and displays scrollbar instead

enter image description hereI am having a problem using the lightning:datatable component that is contained in a lightning:card component. The actions on the table rows are getting cut off if it expands beyond the card instead of overlaying like it does for out of the box related list components. Any help or suggestions appreciated. Thanks.

Best Answer

Try adding this to your CSS.

.THIS .slds-scrollable_x
{overflow-y:visible!important;overflow-x:visible!important;}
.THIS .slds-scrollable_y
{overflow-y:visible!important;overflow-x:visible!important;}
Related Topic