fix: 拖选文字时弹窗不再误关闭
Some checks failed
Test / unit-test (push) Successful in 5s
Test / e2e-test (push) Has been cancelled
Test / build-check (push) Has been cancelled

所有弹窗背景关闭事件从 @click.self 改为 @mousedown.self,
避免从输入框拖选文字到弹窗外时触发关闭。

影响:LoginModal、RecipeDetailOverlay、UserMenu、TagPicker、
Projects、BugTracker、OilReference 共9处。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 09:40:21 +00:00
parent e9626a08b9
commit c8e1f87391
11 changed files with 24 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
{
"hash": "35276b75",
"configHash": "1834f32e",
"lockfileHash": "e3b0c442",
"browserHash": "09e8beb6",
"optimized": {},
"chunks": {}
}

3
.vite/deps/package.json Normal file
View File

@@ -0,0 +1,3 @@
{
"type": "module"
}