I have searched the reactstrap
docs but unfortunately it only provides DropdownMenu:right
property. What I wanted to achieve is to somehow auto align the drop menu on the bottom such that it won't overflow.
import {
UncontrolledButtonDropdown,
DropdownToggle,
DropdownMenu,
DropdownItem
} from "reactstrap";
<UncontrolledButtonDropdown direction="left">
<DropdownToggle color="secondary" size="sm">
<i className="pe-7s-more btn-icon-wrapper"></i>
</DropdownToggle>
<DropdownMenu>
<DropdownItem onClick={some_action}>{some_label}</DropdownItem>
</DropdownMenu>
</UncontrolledButtonDropdown>
Is there any way i can get around this issue?