fluentui
fluentui copied to clipboard
[Bug]: DetailsList lost selection when input changed
trafficstars
Package
react
Package version
8.121.4
React version
18.2.0
Environment
react,react-dom,@fluentui/react
Current Behavior
we have a column inside DetailsList, which is customized as a TextField when first click on the TextField, the current row is selected, but it get unselected when user continue type
Expected Behavior
the current row should be keep selected when user continue type inside
Reproduction
https://codesandbox.io/p/sandbox/fluentui-detailslist-input-6yjf83
Steps to reproduce
- type under column Comments, current row is selected
- continue type, current row is unselected
Are you reporting an Accessibility issue?
no
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] The provided reproduction is a minimal reproducible example of the bug.