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

Vertical line always selected even if not within selection

m-damien opened this issue · comments

Environments

Description

Thank you for this library, it has been a pleasure to work with it so far!
I am having an issue with vertical SVG lines. They seem to be getting selected even when they are not part of the selection:
line_selection
I was able to reproduce the issue starting from one of the examples from the Storybook (see the testable address above). Seems to be fine with horizontal line, or lines that are not perfectly vertical.

@m-damien

  • lit-selecto 1.21.0
  • preact-selecto 1.18.0
  • react-selecto 1.21.0
  • selecto 1.21.0
  • svelte-selecto 1.21.0
  • vue-selecto 1.21.0
  • vue3-selecto 1.7.0
  • ngx-selecto 1.21.0

selecto's new version is released.

Check it again.

That was impressively quick! I tried the new version, the problem is completely fixed.

Thanks heaps!