- Switch from onClick to onMouseDown + e.preventDefault() so the browser never starts its own text-selection on click or drag - Add document-level mousemove/mouseup listeners for drag-to-select: hold mouse button and sweep across cells to highlight a range - Shift+click still extends the rectangle from the anchor cell - userSelect: none on tables prevents any residual text highlighting - Stats bar (Count/Sum/Avg) now appears after mouseup so it reads the final selection, not mid-drag state Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| index.html | ||
| nginx.conf | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||