fix scroll bar

This commit is contained in:
CPunisher 2020-06-22 21:41:09 +08:00
parent 9458081b25
commit f8dac04b8d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import React, {useEffect, useState} from 'react'; import React, {useEffect, useRef, useState} from 'react';
import './App.css'; import './App.css';
import StyleListViewer from "../../containers/style/StyleListViewer"; import StyleListViewer from "../../containers/style/StyleListViewer";
import {isPC} from "../../utils/navigatorUtils"; import {isPC} from "../../utils/navigatorUtils";
@ -20,7 +20,7 @@ const PartStyles = ({ setParamInfo }) => {
{isPC() ? <div className="Qr-style-hint">拖拽滑动</div> : null} {isPC() ? <div className="Qr-style-hint">拖拽滑动</div> : null}
</div> </div>
</div> </div>
<ScrollContainer className="Qr-s" style={{visibility: loaded ? "visible" :"hidden"}}> <ScrollContainer hideScrollbars={false} className="Qr-s" style={{visibility: loaded ? "visible" :"hidden"}}>
{styleList} {styleList}
</ScrollContainer> </ScrollContainer>
</div>) </div>)