Commit dde8f4c
committed
fix: improve focus management for wheel scrolling in fullscreen
1. Added scrolledByWheel property to track mouse wheel page navigation
2. Modified focus behavior to always focus first app when scrolling
with wheel
3. Fixed inconsistent focus positioning after wheel vs keyboard
navigation
4. Reset scrolledByWheel flag after processing to prevent stale state
Log: Improved application focus behavior when using mouse wheel to
navigate pages in fullscreen mode
Influence:
1. Test mouse wheel page navigation in fullscreen mode
2. Verify focus correctly moves to first application after wheel
scrolling
3. Compare focus behavior between wheel scrolling and keyboard
navigation
4. Test edge cases like scrolling from first to last page and vice versa
5. Verify focus is not lost when switching between different navigation
methods
fix: 修复全屏模式下滚轮滚动时的焦点管理问题
1. 添加 scrolledByWheel 属性来跟踪鼠标滚轮翻页操作
2. 修改焦点行为,滚轮翻页时始终聚焦到第一个应用
3. 修复滚轮导航和键盘导航后焦点位置不一致的问题
4. 处理完成后重置 scrolledByWheel 标志,防止状态残留
Log: 改进了全屏模式下使用鼠标滚轮翻页时的应用焦点行为
Influence:
1. 测试全屏模式下的鼠标滚轮翻页功能
2. 验证滚轮翻页后焦点是否正确移动到第一个应用
3. 比较滚轮滚动和键盘导航的焦点行为差异
4. 测试边缘情况,如从第一页滚动到最后一页及反向操作
5. 验证在不同导航方法切换时焦点不会丢失
PMS: BUG-3374931 parent 0187228 commit dde8f4c
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| 262 | + | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
| |||
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
| 380 | + | |
378 | 381 | | |
379 | 382 | | |
380 | 383 | | |
| |||
431 | 434 | | |
432 | 435 | | |
433 | 436 | | |
434 | | - | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
435 | 442 | | |
436 | 443 | | |
437 | 444 | | |
| |||
0 commit comments