When the mobile terminal uses overflow-x:scoll to achieve beyond sliding left and right, the touch sliding is not smooth.

when the mobile terminal uses overflow-x:scoll to achieve more than sliding left and right, the left and right sliding is not smooth
and then adding-webkit-overflow-scrolling: touch; solves the problem of unsmoothness, but it is very awkward with the scroll bar.
consult:
is there a way to remove the scroll bar, or a better way to solve the problem? Thanks"()"

Apr.05,2021

use a wrapper to set overflow: hidden to cover the inner scroll bar.

online demo: https://codepen.io/liximomo/p.

.scroller{
    white-space: nowrap;
}

add this and you can do it. That's good

.
Menu