Commit b2e46d2
committed
fix: reset view state when switching sort modes
1. Added logic to reset view state to top when switching between grid
and list view modes
2. The reset happens immediately without animation to provide instant
feedback
3. This ensures users always see the top of the app list after changing
sort modes
4. Prevents confusion when switching modes leaves users at a random
scroll position
Influence:
1. Test switching between grid and list view modes
2. Verify view always resets to top position after mode switch
3. Check that reset happens instantly without animation
4. Ensure app list navigation remains consistent across mode changes
fix: 切换排序模式时重置视图状态
1. 添加逻辑在网格和列表视图模式切换时重置视图到顶部
2. 重置立即发生且无动画,提供即时反馈
3. 确保用户在更改排序模式后始终能看到应用列表顶部
4. 防止切换模式时用户停留在随机滚动位置造成的混淆
Influence:
1. 测试在网格和列表视图模式之间切换
2. 验证模式切换后视图始终重置到顶部位置
3. 检查重置是否立即发生且无动画
4. 确保应用列表导航在不同模式切换间保持一致
PMS: BUG-3461111 parent ead060e commit b2e46d2
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| 87 | + | |
0 commit comments