better-scroll
                                
                                
                                
                                    better-scroll copied to clipboard
                            
                            
                            
                        nested-scroll嵌套,如果内层滚动盒子不能滚动,手指接触的位置在内层盒子,会导致外层盒子也无法滚动
内层滚动盒子内容不够撑开的情况,手指接触的位置是在内层滚动盒子里面,就会滚动不了外层的盒子
遇到同样的问题:外部scroll设置纵向,内部scroll设置横向。当内部scroll设置了 eventPassthrough: 'vertical' 且没撑满容器无法横向滚动时,触摸内部scroll会导致外部scroll同样无法滚动,点击内部scroll后可恢复。如果不设置 eventPassthrough,则在内部scroll上无法滑动外部scroll。
Same problem here: In my case, I was set the Outer Scroll
scrollY: true, and the Inner Scroll as scrollX: true, scrollY: false. When the Inner Scroll does not fill the container up and cannot scroll horizontally with option eventPassthrough: 'vertical', touching the Inner Scroll will cause the Outer Scroll to also fail to scroll, and it can be restored after clicking the Inner Scroll. If eventPassthrough is not set to the Inner Scroll, the Outer Scroll cannot be swiped on the Inner Scroll.
OS: macOS 13.1 BS: v2.5.0