daybrush / moveable

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!
https://daybrush.com/moveable/
MIT License
10.08k stars 618 forks source link

Console logging left open #902

Open cyhnkckali opened 1 year ago

cyhnkckali commented 1 year ago

Environments

Transmits a message to the console when moveable is unfocused

cyhnkckali commented 1 year ago

image

daybrush commented 1 year ago

@cyhnkckali

Uploaded croact version to 1.0.1.

Perhaps if you delete vue3-moveable and reinstall it, it will be croact@1.0.1 version.

moveable will be updated soon.

cyhnkckali commented 1 year ago

Thank you for the quick return. When I reinstall Moveable, it installs the following versions. The problem still persists.

─ croact-moveable@0.2.1 ├─ moveable@0.46.1 └─ vue3-moveable@0.21.1

image

sdraper69 commented 1 year ago

I also spotted a lot of console logs, but I am using vanilla JS version, does this issue address that or should I open another?

daybrush commented 1 year ago

@sdraper69 @cyhnkckali

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

sdraper69 commented 1 year ago

Yes sorry, I thought I had the latest. It's fixed for me.

cyhnkckali commented 1 year ago

I get the error on the screen. Because my target list is []

image

image

image

image

daybrush commented 1 year ago

@cyhnkckali

Is there a process of reproduction?

I gave target an empty array, but it works.

Can I get the exact trace callback of the code error?

Is there an url I can test on?

cyhnkckali commented 1 year ago

Below is the content of the codesendbox I have prepared for you. Thank you for your interest

https://codesandbox.io/p/github/cyhnkckali/-TestMoveable/draft/sharp-river?file=%2Fsrc%2FApp.vue&layout=%257B%2522activeFilepath%2522%253A%2522%252Fsrc%252FApp.vue%2522%252C%2522openFiles%2522%253A%255B%2522%252FREADME.md%2522%255D%252C%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522gitSidebarPanel%2522%253A%2522COMMIT%2522%252C%2522fullScreenDevtools%2522%253Afalse%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522vertical%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522DEVTOOLS_PANELS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522panelType%2522%253A%2522TABS%2522%252C%2522id%2522%253A%2522clh7f1dgo000a356w4bjmijcz%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clh7f1dgo000a356w4bjmijcz%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clh7f1dgo0008356w4xwhralf%2522%252C%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A3000%252C%2522path%2522%253A%2522%252F%2522%257D%252C%257B%2522id%2522%253A%2522clh7f1dgo0009356wqxxanlnk%2522%252C%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522dev%2522%257D%255D%252C%2522id%2522%253A%2522clh7f1dgo000a356w4bjmijcz%2522%252C%2522activeTabId%2522%253A%2522clh7f1dgo0008356w4xwhralf%2522%257D%257D%252C%2522showSidebar%2522%253Atrue%252C%2522showDevtools%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%252C%2522editorPanelSize%2522%253A48.49976558837318%252C%2522devtoolsPanelSize%2522%253A35%257D

daybrush commented 1 year ago

@cyhnkckali

The dependency of the croact version had a problem.

vue3-moveable new version (0.22.2) vue3-guides new version (0.9.1)

Try updating to the new version.

cyhnkckali commented 1 year ago

Thanks mate, it works without any problem