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
2.04k stars 82 forks source link

Vue3-selecto demo code does not work #107

Open Atif-Bashir-1998 opened 1 year ago

Atif-Bashir-1998 commented 1 year ago

Environments

Description

The code pen example related to select in the scroll area is not working. Can you please update the code and fix it quickly?

jerwinaton commented 1 year ago

in line 206: this.$refs.selecto. it's missing .checkScroll() should be this.$refs.selecto.checkScroll()

try this https://codesandbox.io/s/eloquent-minsky-5fu7lg

Atif-Bashir-1998 commented 1 year ago

@jerwinaton Can't open the sandbox link which you have shared

sachinshilwal commented 1 year ago

@jerwinaton hey. Your code works. That docs need to be updated.

daybrush commented 1 year ago

@Atif-Bashir-1998 @sachinbro @jerwinaton

Fixed typos in vue code. Let me know if there are any other parts.

http://localhost:6006/?path=/story/selecto--select-in-the-scroll-area