fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

onKeydown dosen't work on columnHeader in DetailList, only in IE11

Open shivasai09 opened this issue 7 years ago • 6 comments

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 avatar Jul 09 '19 05:07 shivasai09

@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.

Vitalius1 avatar Jul 09 '19 19:07 Vitalius1

Hello @Vitalius1 i have a gif for the repro, i am able to repro it. It happens only in IE11

detaillist

as you can see above the list is not getting sort on Enter key

shivasai09 avatar Jul 10 '19 05:07 shivasai09

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.

IE11

Vitalius1 avatar Jul 10 '19 23:07 Vitalius1

@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!

Vitalius1 avatar Jul 11 '19 01:07 Vitalius1

:tada:This issue was addressed in #9770, which has now been successfully released as @uifabric/[email protected].:tada:

Handy links:

msft-github-bot avatar Jul 11 '19 12:07 msft-github-bot

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!

msft-github-bot avatar Jul 15 '19 13:07 msft-github-bot