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

Area offset

happy2277 opened this issue · comments

Environments

  • Framework name: vue
  • Framework version: vue2
  • Component name: vue-selecto
  • Component version: 1.22.1
  • Testable Address(optional):

Description

Hello, when I scale the parent element, the result remains the same, but the selected area is offset, is there a solution to solve it?
微信截图_20230614095358

@happy2277

hi. Try setting the rootContainer. To the parent parent element to which no transform is applied

:rootContainer="no transformed parent element or ancestor's element"