end", onDocumentUp(id, "touch"), {
              once: true,
            });
          });

          if (!scrollFriendly && !readonly) {
            // 4. Handle drag-to-select on touch devices
            // This is only for the vanilla non-scroll-friendly mode, when the highlighter is
            // not read-only (bc read-only means we don't need to handle drag-to-select).
            //
            // The new scroll-friendly mode only registers a touchmove listener after a longpress
            // and i