Have you already searched for similar issues? Yes I have.
Also, please don't be that person who deletes this template. It's here for a reason.
Thanks!
✅ Officially supported ✅
⚠️ Not officially supported, expect warnings ⚠️
- [x] v15.5.x
☣️ Not officially supported, expect warnings and errors ☣️
✅ Officially supported ✅
⚠️ Not officially supported, but "should work" ⚠️
👋 Need general support? Not sure about how to use React itself, or how to get started with the Grid?
Please do not submit support request here. Instead see
https://github.com/adazzle/react-data-grid/blob/master/CONTRIBUTING.md
```
Please include:
I feel as though is should be default behavior, to select text cells.
It's not , but you may include the CSS property user-select on the selector .react-grid-Cell like so:
.react-grid-Cell {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
You can also replace text with all if you'd like to select the entire cell automatically.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please reopen this if you feel it has been incorrectly closed and we will do our best to look into it. Thank you for your contributions.
ccurtin's solution will work if none of the elements in your formatters set/override the user-select attributes.
If you want to override all cell's children's attributes you can use
.react-grid-Cell, .react-grid-Cell * {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
*Note you may have to use !important to make sure it overrides
@vlthrasher, does it work for you on FF/Safari correct?
I use your suggestion for .rdg-cell
I got strange behavior for FF(81.0.1)/Safai(14) on macos. Selection automatically disappears

Chrome (works correct) :

react-data-grid - 7.0.0-canary.24
Most helpful comment
I feel as though is should be default behavior, to select text cells.
It's not , but you may include the CSS property
user-selecton the selector.react-grid-Celllike so:You can also replace
textwithallif you'd like to select the entire cell automatically.