Losing text selection when toggleRowSelected is called. #3903
Unanswered
justinhaddad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I need to support user-selected text in my table, either through double click or dragging across words. I have an onClick handler on my rows for single-row selection via click support. I'm seeing that when I select some text in one of the table's cells, it is initially highlighted as expected, but then it is immediately undone. I've narrowed down the culprit to the call to toggleRowSelected in my onClick handler. If I comment this line out, the text selection sticks and I can do the usual copy/paste actions.
TIA for any suggestions.
Beta Was this translation helpful? Give feedback.
All reactions