Commit 75d2998
authored
fix: 修复useInViewport的rootMargin值无法使用组件state更新 (alibaba#1984)
* fix: rootMargin
fix rootMargin does not update when using setState
* fix: useInViewport的rootMargin值无法使用组件state更新
修复useInViewport的rootMargin值无法使用组件state更新
* fix: useInViewport的rootMargin值无法使用组件state更新
useInViewport的rootMargin值无法使用组件state更新
* fix: 添加threshold监听
添加threshold监听1 parent d0b7793 commit 75d2998
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments