fix scroll bar
This commit is contained in:
parent
9458081b25
commit
f8dac04b8d
|
@ -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>)
|
||||||
|
|
Loading…
Reference in New Issue