daybrush / selecto

Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.
https://daybrush.com/selecto
MIT License
2k stars 81 forks source link

Selection not ending on pointer release over disabled element #163

Open ccpu opened 6 months ago

ccpu commented 6 months ago

Environments

Description

Selecto not ending when the pointer is released over a disabled element.

selector-disabled-item-issue

Steps to Reproduce

  1. Open the testable address (codesandbox)
  2. Click and drag to start selecting elements.
  3. Release the pointer over a disabled element.

Actual Behavior

The selection should end upon releasing the pointer, regardless of whether it is over a disabled element.