Commit d82f576
committed
fix: correct arrow list view button behavior
1. Changed `itemsView.atYEnd` to `view.atYEnd` to fix incorrect button
enabling logic
2. Made `view` property required to ensure proper component
initialization
3. The bug caused arrow buttons to remain enabled incorrectly when
scrolling to the end of the list
4. Required property ensures view reference is always provided for
proper functionality
fix: 修复箭头列表视图按钮行为问题
1. 将 `itemsView.atYEnd` 改为 `view.atYEnd` 以修复按钮启用逻辑错误
2. 将 `view` 属性设为必需以确保组件正确初始化
3. 原错误导致滚动到列表末尾时箭头按钮仍错误地保持启用状态
4. 必需属性确保始终提供视图引用以保证功能正常1 parent c34015f commit d82f576
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments