Commit c9a9274
committed
fix: fix AlertToolTip parent causing drag issues
Fixed an issue where AlertToolTip's parent was set to Overlay.overlay
when shown, which could interfere with window dragging functionality.
The tooltip's children were being displayed in the overlay layer,
potentially blocking mouse events on the window title bar. Now the
parent is conditionally set to the target when not shown, and only to
Overlay.overlay when actually visible.
Log: Fixed an issue where tooltips could interfere with window dragging
Influence:
1. Test that AlertToolTip displays correctly when triggered
2. Verify that window title bar remains fully draggable when tooltip is
not shown
3. Check that tooltip positioning and animations work properly
4. Ensure tooltip doesn't block mouse events on underlying UI elements
5. Test tooltip behavior during window drag operations
fix: 修复AlertToolTip父级设置导致窗口拖动问题
修复了AlertToolTip在显示时父级设置为Overlay.overlay导致可能干扰窗口
拖动功能的问题。工具提示的子元素在覆盖层显示,可能会阻挡窗口标题栏上
的鼠标事件。现在父级在未显示时条件性地设置为目标元素,仅在可见时设置
为Overlay.overlay。
Log: 修复了工具提示可能干扰窗口拖动的问题
Influence:
1. 测试AlertToolTip在触发时是否正确显示
2. 验证工具提示未显示时窗口标题栏是否完全可拖动
3. 检查工具提示定位和动画是否正常工作
4. 确保工具提示不会阻挡底层UI元素的鼠标事件
5. 测试窗口拖动操作期间的工具提示行为
PMS: BUG-3549391 parent 224f6f8 commit c9a9274
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments