diff src/alternatives/interactjs.html @ 3:6d5e4b38b4fb

start drag
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 21 Apr 2023 00:58:31 -0600
parents 9c372fce698a
children eee8862be4c7
line wrap: on
line diff
--- a/src/alternatives/interactjs.html	Thu Apr 20 15:55:43 2023 -0600
+++ b/src/alternatives/interactjs.html	Fri Apr 21 00:58:31 2023 -0600
@@ -43,6 +43,7 @@
 			}
 
 			function dragEnterListener(event) {
+				//return;
 				console.log(event);
 				let entered = event.target;
 				let dragging = event.relatedTarget;
@@ -68,6 +69,7 @@
 			function init() {
 				let dad = interact('div[drag]');
 				dad.draggable({
+					autoScroll: true,
 					listeners: {
 						start: dragStartListener,
 						move: dragMoveListener,