[LWC] Column header menus are not aligned correctly #2307
Labels
bug
Something isn't working
forum
Issues from forum
high-priority
Urgent to have fixed
salesforce
Salesforce integration
Forum post
When the Grid is placed inside of a Lightning "modal dialog", its column header context menus are displayed off point, making them unusable.
This is because one of the modal dialog component's elements has 'slds-modal__container' class which applies translate(0, 0) transformation, effectively shrinking the .b-float-root element horizontally. This confuses menu positioning as it is relative to the float root yet the click point is relative to the window.
The following override resolves the issue (for us).
The text was updated successfully, but these errors were encountered: