I have a `slds-table` that contains an `<aura:iteration>` for displaying OpportunityLineItem records. The last column in the table is an action drop down menu as follows:

    <aura:iteration items="{!v.olis}" var="oli"> 
        <tr class="slds-hint-parent">
            <!-- Other columns... -->
            <td role="gridcell">
                              
                <lightning:buttonMenu iconName="utility:down" name="{! 'lquickAction_' + oli.Id}" alternativeText="Actions" onselect="{!c.buttonMenuQuickActionSelected}">
                    <lightning:menuItem label="Do the Important Thing" value="4" />
                </lightning:buttonMenu>
                        
            </td>
        </tr>
    </aura:iteration>

It works fine for all the rows accept the last, where the dropdown appears off the bottom of the view able area.

[![Lost buttonMenu dropdown][1]][1]

How can I get this last problem menu to appear?

I did find the `.slds-dropdown_bottom` selector for `.slds-dropdown`. That seems to work as advertised, but I'd need to manually apply it to the last action in the iteration. Or even potentially look and how many menuItems are in each menu and if they will flow off the viewable area. It's starting to get a bit messy.

[![enter image description here][2]][2]


  [1]: https://i.sstatic.net/NhYIr.png
  [2]: https://i.sstatic.net/Vq9f4.png