ngx-drag-to-select icon indicating copy to clipboard operation
ngx-drag-to-select copied to clipboard

Select box does not update when scrolling, until mouse is moved

Open SbrowneA opened this issue 3 years ago • 2 comments

I have a scrollable div which calls the SelectContainerComponent.update() method on the inner dts-select-container when scrolled. The select area updates correctly; however, the select box does not get updated until the mouse is moved. Is there a particular reason for this (e.g. performance)?

I would like the select box to also update when I scroll just like a mouse move, is there some setting I have missed or a method call that can achieve this?

Thanks.

SbrowneA avatar Nov 10 '21 23:11 SbrowneA

Hey there 👋 Can you please provide a StackBlitz as a reproduction?

d3lm avatar Nov 11 '21 07:11 d3lm

Hi, @d3lm sure thing! Here is short video to illustrate what I mean by the "select box not getting updated (when scrolling at the same time as selecting). And this is the project on StackBlitz

SbrowneA avatar Nov 12 '21 00:11 SbrowneA