Regarding the scroll-view component of the uniapp WeChat applet, the scroll bar cannot be hidden when using show-scrollbar

Here is a question about when using  the scroll-view component,  there is a scroll bar and I want to hide the scroll bar, but using show-scrollbar has no effect. At this time, using the class name to hide the scroll bar and using the id to hide the scroll bar do not work. Solution: On the page using the scroll

- view  component Or just add the following code to the app page
        

::-webkit-scrollbar {
				display: none;
				width: 0 !important;
				height: 0 !important;
				-webkit-appearance: none;
				background: transparent;
				color: transparent;
	}

Guess you like

Origin blog.csdn.net/T3165919332/article/details/132360138