[DetailsList] Impossible to trigger the click event of a child of a cell in the DetailsHeader
Bug Report
- Package version(s): 2.31.0
- Browser and OS versions: Internet Explorer 11.540.15063.0
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? No
Requested priority: Blocking
Products/sites affected: SharePoint Framework Webpart/DetailsList component
Describe the issue:
In IE, in the DetailsList component, in the DetailsHeader, it is not possible to trigger an onClick event on a child of a cell (example: I want a contextual menu to open when I click the dropdown chevron). I even tried to bind an onClick event on the element with jquery, but I can't click on the icon. If I move the icon outside of it's parent, the click event works. It works in Chrome. I tried to remove the custom css, but it doesn't change anything. I tried to put the z-index of the icon to the max, but it doesn't work.
IE

IE if I move the chevron outside of the cell

Chrome

Actual behavior:
Impossible to trigger the click event of a child of a cell in the DetailsHeader in the DetailsList component.
Expected behavior:
When I click on a child of a cell in the DetailsHeader in the DetailsList component, it should trigger it's onClick event.
If applicable, please provide a codepen repro:
DetailsList now has the prop onRenderDetailsHeader that allows you to customize the header, including click events. Please reply if there are still any issues