Package version: 7.6.0
Between version 7.5.0 and 7.6.0 the selectionPreservedOnEmptyClick does not work correctly.
On 7.6.0 when clicking outside of the list, the selection is undone.
Occurs on version 7.6.0 on DetailsList with selectionPreservedOnEmptyClick property. In the example below if you enable modal selection via the toggle, select items, click into 'filter by name' input. Selection is reset.
https://codepen.io/anon/pen/EBrNeJ
Does not occur on version 7.5.0 with same settings on the DetailsList controllers:
https://codepen.io/anon/pen/mZvOjE
Clicking outside DetailsList area with selectionPreservedOnEmptyClick property set with items selected unselects all the selected items.
Clicking outside DetailsList area with selectionPreservedOnEmptyClick property set with items selected preserves the selected items.
Are you willing to submit a PR to fix? No
Requested priority: Normal
Regression introduced in 7.5.2 by #9439
@wiolsen can you take a look please at what got regressed with your PR. Thanks!
cc: @KevinTCoughlin
@wiolsen can you take a look please at what got regressed with your PR. Thanks!
I believe @ThomasMichon just fixed this with #9762 & #9766. Both have been merged.
I verified on a local running instance with the current PR and indeed it has been fixed.
@withgallantry can you verify the fix on your end with tomorrow鈥檚 new release of OUFR and let us know if everything is OK. Thanks!
Will do. Thanks for the speedy fix.
Can confirm that it's fixed @Vitalius1
Thanks for the work everyone.
Will close the issue manually since the author confirmed it鈥檚 fixed.