daybrush / selecto

Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.

Home Page:https://daybrush.com/selecto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selection not ending on pointer release over disabled element

ccpu opened this issue · comments

Environments

  • Framework name: react-selecto
  • Framework version: 1.26.3
  • Testable Address(optional): codesandbox

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.