WeKnora/frontend
ice 7f39d28a33 fix(frontend): hide upload mask when drag leaves window
Use dragCounter to track drag enter/leave events properly.
The mask now hides when user drags file out of the browser window.

- Add dragleave event listener
- Use counter to handle nested element drag events
- Reset counter on drop and unmount

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 16:33:09 +08:00
..
packages chore: Update Dockerfile and package-lock.json for xlsx package management 2025-11-17 13:15:10 +08:00
public feat: 支持运行时动态配置文件大小限制 2026-01-05 16:05:38 +08:00
src fix(frontend): hide upload mask when drag leaves window 2026-01-26 16:33:09 +08:00
.dockerignore fix: ignore non-utf8 words when saving to db 2025-08-21 19:53:54 +08:00
.gitignore init commit 2025-08-05 15:08:07 +08:00
Dockerfile feat: 支持运行时动态配置文件大小限制 2026-01-05 16:05:38 +08:00
docker-entrypoint.sh feat: 支持运行时动态配置文件大小限制 2026-01-05 16:05:38 +08:00
env.d.ts init commit 2025-08-05 15:08:07 +08:00
index.html feat: 支持运行时动态配置文件大小限制 2026-01-05 16:05:38 +08:00
nginx.conf feat: 添加可配置的文件上传大小限制 2025-12-30 14:35:10 +08:00
package-lock.json chore: Update .env.example by removing unused DB_PORT variable and add highlight.js dependency in package.json and package-lock.json 2025-12-08 19:37:38 +08:00
package.json chore: Update .env.example by removing unused DB_PORT variable and add highlight.js dependency in package.json and package-lock.json 2025-12-08 19:37:38 +08:00
tsconfig.app.json init commit 2025-08-05 15:08:07 +08:00
tsconfig.json init commit 2025-08-05 15:08:07 +08:00
tsconfig.node.json init commit 2025-08-05 15:08:07 +08:00
vite.config.ts chore: Update .gitignore and Makefile for development enhancements 2025-11-07 15:52:52 +08:00