The row selection is interrupted randomly #1537
-
I tried implementing row selection using Gif for clarification, how selection breaks while pressing control and selecting rows Is this behavior a known issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
this seems like a bug, however it seems to happen only on certain columns, for example it doesn't replicate on Title/Duration but it replicates on %/Start. I rarely use this feature and I would suggest you to troubleshoot it yourself, the code is in the file show below |
Beta Was this translation helpful? Give feedback.
-
We were writing at the same time, that's why I did not see your message before I posted mine. Changing sources is not a good option. That solution is not very good. Now when I drag the selection bigger with shiftKey down then the selection does not grow as it does without shiftKey down. I tied I was able to do replace |
Beta Was this translation helpful? Give feedback.
I already mentioned that I can limit the prevent drag to the Ctrl key only (and Meta key for Mac) if you want, so that you can still keep using Shift the same as before. By preventing Ctrl key this will still solve the original issue. I would suggest that you take a look at the new PR #1538 to understand how it works. I'm adding a new grid option
preventDragFromKeys
to make it configurable, so if you wish to remove all keys then you would configure it togridOptions = { preventDragFromKeys: [] }
and that would remove all key restrictions (but that would bring back the issue). As per your comment, I have changed the default to bepreventDragFromKeys: ['ctrlKey', 'metaKey']
and since it's c…