selecto icon indicating copy to clipboard operation
selecto copied to clipboard

Vue-Selecto container not work

Open tinahung126 opened this issue 2 years ago • 6 comments

Environments

  • Framework name: Vue
  • Framework version: 2.x

Description

Vue can't control the selecto area, I use rootContainer/ dragContainer / container but can't limit the selecto area, I can still start select from anywhere, but I want can just start select from specific element. I test all the framework demo, just Vue version has this situation.

截圖 2022-01-19 上午10 08 34

tinahung126 avatar Jan 19 '22 02:01 tinahung126

Also doesn't set the container correctly in the react version

christophermaloney avatar Feb 10 '22 01:02 christophermaloney

@tinahung126 it is a bug in version 1.13.1

In the meantime, you could tackle this by downgrading the version to 1.13.0

Working example: https://codesandbox.io/s/amazing-mopsa-2x6hy5?file=/src/App.vue

acabreragnz avatar Mar 08 '22 16:03 acabreragnz

@acabreragnz @tinahung126 @christophermaloney

  • selecto 1.14.0
  • react-selecto 1.14.0
  • preact-selecto 1.14.0
  • ngx-selecto 1.14.0
  • svelte-selecto 1.14.0
  • vue-selecto 1.14.0
  • vue3-selecto 1.0.0
  • lit-selecto 1.14.0

selecto's new version is released. Check it again.

daybrush avatar Mar 09 '22 17:03 daybrush

@daybrush it works now, thank you! :raised_hands:

acabreragnz avatar Mar 09 '22 19:03 acabreragnz

the issue is still up, i'm on vue3-selecto 1.2.2, and I still can't set "container" to a different value, it always defaults to body even if i set it to a different value, @daybrush any help would be appreciated

abiari avatar Jun 02 '22 14:06 abiari

@Gruxme @acabreragnz @tinahung126

selecto's new version is released. Check it again.

daybrush avatar Jul 04 '22 07:07 daybrush