We have an issue where a user can click into the cell of a table, and the table will sort based on that selection. But, we also have research that shows users want to be able to select the content of those cells to be able to copy/paste.
The issue is once the user clicks into the cell, the table sorts, so they are no longer on the same content, and are unable to select.
I am trying to explain to the developers that maybe we can do something where if the user clicks into it and moved the cursor, it doesn't change based on sorting. But of course, we'd need a slight affordance so that users with twitchy mouses can also sort.
Does anyone know of anything that fits this pattern that I can use as an example to show the developers and producer what I am talking about when I explain this?
Does the explanation of what is happening and the solution even make sense here? Is there another solution that I am not thinking about (without just getting rid of the feature completely as dev suggested).
You can always add a Copy Text Icon next to the selected cell or when hovering it: