最近做个需求 里面有个小功能 超出的标签可以滑动
手机模式有滚动条但是不能滑动
发现有个属性:touch-action 用于指定某个给定的区域是否允许用户操作
touch-action: pan-y; 启用单指垂直平移手势
修改为:pan-x 或者 auto 均可
所有的属性关键字 感兴趣可以看一下
touch-action: auto; touch-action: none; touch-action: pan-x; touch-action: pan-left; touch-action: pan-right; touch-action: pan-y; touch-action: pan-up; touch-action: pan-down; touch-action: pinch-zoom; touch-action: manipulation; /* Global values */ touch-action: inherit; touch-action: initial; touch-action: unset;