Expose unselectCell on DataGrid handle - #3927
Conversation
0d13a12 to
0135d78
Compare
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3927 +/- ##
==========================================
- Coverage 97.34% 97.09% -0.25%
==========================================
Files 36 36
Lines 1169 1172 +3
Branches 345 345
==========================================
Hits 1138 1138
- Misses 31 34 +3
🚀 New features to boost your workflow:
|
|
The selection outline persists even when the cell is not focused. We can do the following to show the outline only on focused cells? Does that work for you or the intention is to actually clear the selected position? https://github.com/Comcast/react-data-grid/blob/main/src/style/cell.ts#L25 |
|
The intention is to clear the selected position because we base some other UI behavior on the selected cell, and when not focused we'd like to avoid triggering that behavior |
Working with
DataGridI found myself needing to unselect the selected cell (when the user moves focus to an external element)