slate-editable-table
slate-editable-table copied to clipboard
text selection is not clearing out when mouse downed in the avoided cells during diagonal selection
When diagonally selecting the cells, the default selection of text in cells is being avoided. But, when mouse downed in one of those avoided cells, the default selection is coming back on removing selection. Here are the steps to
- Select the cells from 0 t0 3
- by default 0 1 2 3 text gets selected so, on mouse down in cell 1 or cell 2 the default selection is throwing back
However, on mouse down in cells from 4 to 8, this is not showing up because they are not in default range selection. What do you think could be a possible reason for this?
I know this behavior. However I don't know how to improve this behavior :sob: We need to do some investigation.
I think we can dive into the window selection and clear this issue. I will let you know if I can find something out. https://developer.mozilla.org/en-US/docs/Web/API/Selection/removeRange