From d1c9cf236136599afa52e9a1e0c797b1ecc62872 Mon Sep 17 00:00:00 2001 From: Frank Pagan Date: Wed, 15 Mar 2023 11:09:54 -0600 Subject: [PATCH] feat: replaced get-value and set-value with a super charged version of CoCreate-events --- docs/index.html | 2 +- src/index.css | 3 ++- src/modal.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/index.html b/docs/index.html index 484623c..cdcef3d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -139,7 +139,7 @@

Demo

-
+
diff --git a/src/index.css b/src/index.css index 68191d6..063282b 100644 --- a/src/index.css +++ b/src/index.css @@ -34,7 +34,8 @@ border: 2px solid grey; background: #fff; z-index: 2; - user-select: none; + overflow: auto; + /* user-select: none; */ pointer-events: auto; } diff --git a/src/modal.js b/src/modal.js index 1f1fe42..192f996 100644 --- a/src/modal.js +++ b/src/modal.js @@ -169,7 +169,7 @@ Modal.prototype = { let bottomResize = document.createElement("div"); bottomResize.setAttribute("resize", "bottom"); - this.el.setAttribute("resizable", ""); + // this.el.setAttribute("resizable", ""); this.el.appendChild(dragArea); this.el.appendChild(topResize); this.el.appendChild(leftResize);