Commit ea26177
committed
fix(dock): prevent menu hide after touch long-press
1. Add touchLongPressed flag to track touch long-press state
2. Skip mouse release handler when touch long-press was active
3. Reset flag on touch canceled to avoid stale state
Log: Fix right-click menu auto-hiding after touch long-press on taskbar
fix(dock): 修复长按任务栏后松手右键菜单自动隐藏的问题
1. 添加 touchLongPressed 标志位以跟踪触摸长按状态
2. 触摸长按激活时跳过鼠标释放事件的处理
3. 触摸取消时重置标志位,避免状态残留
Log: 修复长按任务栏应用和空白区域松开手指后右键菜单面板自动隐藏的问题
PMS: BUG-3673131 parent c88557b commit ea26177
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| 391 | + | |
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
| |||
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
440 | 445 | | |
441 | 446 | | |
442 | 447 | | |
| |||
445 | 450 | | |
446 | 451 | | |
447 | 452 | | |
| 453 | + | |
448 | 454 | | |
449 | 455 | | |
450 | 456 | | |
451 | 457 | | |
452 | 458 | | |
453 | 459 | | |
454 | 460 | | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
455 | 464 | | |
456 | 465 | | |
457 | 466 | | |
| |||
0 commit comments