ThibaultJanBeyer / DragSelect

An easy JavaScript library for selecting and moving elements. With no dependencies. Drag-Select & Drag-And-Drop. – Examples:
https://dragselect.com/
Other
697 stars 80 forks source link

When scrolling is completed,the Selection Range is error #231

Open hezulong1 opened 2 weeks ago

hezulong1 commented 2 weeks ago

Describe the bug

After Area scrolling is completed, the Selection Range Error problem will occur when you drag the left mouse button to select

To Reproduce Steps to reproduce the behavior:

  1. Click on the top of Area
  2. Scroll down the Area
  3. Left click and drag to select
  4. See error

Expected behavior Draw the correct range.

Code Example https://codepen.io/vividcat/pen/PorBqaq

Screenshots image

Desktop (please complete the following information):

Additional context