-
-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Description
According to latest Bootstrap 4 documentation, I should be able to add .dropdown-menu-right to the existing div.dropdown-menu to get a right-aligned menu, but this is not working. I suspect something in DT is overriding the Bootstrap positioning code (positioning for Bootstrap dropdowns is done by popper.js, not CSS.)
I simply add this before creating the table with buttons:
$.fn.dataTable.Buttons.defaults.dom.collection.className += " dropdown-menu-right";
And I see the class appears on the element as expected, but there's no positioning change.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels