
          return (e) => {
            console.log("longpress start", id);
            const idx = getTouchEventHighlightableIndex(e);

            if (typeof idx != "number") return;

            const longpressTimeout = setTimeout(() => {
              document
                .getElementById(id)
                ?.addEventListener("touchmove", touchMoveListener);
              console.log("longpress end", id, idx);
              document.removeEventListener("touchmove", cancelLongpress);
              doc