Closed gauseen closed 2 years ago
const moveable = new Moveable(document.body, { target: document.querySelector(".target"), resizable: true, scrollable: true, // not work scrollContainer: document.body, // scrollThreshold: 0, getScrollPosition: ({ scrollContainer }) => { console.log("scrollContainer: ", scrollContainer); return [scrollContainer.scrollLeft, scrollContainer.scrollTop]; } });
DEMO Link: https://codesandbox.io/s/moveable-32mfx?file=/index.html
https://codesandbox.io/s/moveable-32mfx?file=/index.html
moveable
react-moveable
preact-moveable
ngx-moveable
svelte-moveable
lit-moveable
moveable's new version is released. Check it again. Thank you :)
DEMO Link: https://codesandbox.io/s/moveable-32mfx?file=/index.html
Description
https://codesandbox.io/s/moveable-32mfx?file=/index.html