The piece`s own z-index could only stack within its grid cell`s context, so when translated over neighbouring cells it rendered underneath their pieces. Promote the hosting cell to z-50 while it holds the dragged piece so the whole cell (and piece inside) float above the board. |
||
|---|---|---|
| .. | ||
| e2e | ||
| src | ||
| tests/fide-games | ||
| index.html | ||
| package.json | ||
| README.md | ||
| RULES.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||