Better-scroll double-layer nesting, how to prevent the outer layer from sliding when sliding inside?

excuse me:
Scroll one of the frames in better-scroll, and then embed a better-scroll,
so how to prevent the outer layer from sliding when sliding inside?

Apr.09,2021

var xRoll2 = new BScroll (commodityRoll, {

scrollX: true,
scrollY: false,
bounce: {
    left: false,
    right: false
},
stopPropagation: true,//
probeType: 2

});
xRoll2.on ('scroll', function (e) {/ / after the bubbling page is used to control departure through event monitoring

if (Math.abs(e.x) <= 0) {
    xRoll.scrollTo(-window.outerWidth * 5, 0, 700)
}

});

Menu