Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

text selection is not clearing out when mouse downed in the avoided cells during diagonal selection #31

Open
vamshi9 opened this issue Oct 6, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@vamshi9
Copy link

vamshi9 commented Oct 6, 2019

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

  1. Select the cells from 0 t0 3
    image
  2. 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
    image

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?

@bokuweb bokuweb added the enhancement New feature or request label Oct 7, 2019
@bokuweb
Copy link
Owner

bokuweb commented Oct 7, 2019

I know this behavior. However I don't know how to improve this behavior 😭 We need to do some investigation.

@vamshi9
Copy link
Author

vamshi9 commented Oct 7, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants