onKeydown dosen't work on columnHeader in DetailList, only in IE11
Environment Information
- Package version(s):latest version
- Browser and OS versions: IE11 windows 10
Please provide a reproduction of the bug in a codepen:
https://developer.microsoft.com/en-us/fabric#/controls/web/detailslist
Actual behavior:
when we try to sort the detail list with keyboard stroke on the column header , the list is not getting sorted. Only in IE11
whereas in other browsers the list is getting sorted , on keydown on the column header
Expected behavior:
when we put focus on the column header and on keyboard stroke(press the enter) the list should get sorted, in IE11
Priorities and help requested:
Requested priority: Normal
Products/sites affected: https://scuportalprv.office.com/Adminportal/home#/users
@shivasai09 I tried to follow your repro steps and everything is working on my end. I can press enter while having focus on a column header and the sort logic gets triggered.
Hello @Vitalius1 i have a gif for the repro, i am able to repro it. It happens only in IE11

as you can see above the list is not getting sort on Enter key
Interesting that running on localhost the project allows me to trigger the sort with the keyboard in IE11 but on the public website not. Will have to investigate what is preventing it.

@shivasai09, the issue you are facing was fixed in #9587 and can be found in OUFR version starting with 7.6.2. It is also being back-ported now to Fabric 6 in #9770 and as soon as it’s merged, the next day release of v6 will have the fix in to be consumed.
That is why I was not able to repro it locally and the website was having the issue due to it being a little behind on the OUFR version it is using.
Let me know if upgrading to the v7 latest of OUFR solves your apps issue. Thanks!
:tada:This issue was addressed in #9770, which has now been successfully released as @uifabric/[email protected].:tada:
Handy links:
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!