Use lazy rendering in the AddExistingToSpaceDialog (#7369)
This commit is contained in:
parent
53081f52fb
commit
5163ad216f
3 changed files with 114 additions and 96 deletions
|
@ -27,7 +27,7 @@ interface IProps extends Omit<HTMLAttributes<HTMLDivElement>, "onScroll"> {
|
|||
}
|
||||
|
||||
export default class AutoHideScrollbar extends React.Component<IProps> {
|
||||
private containerRef: React.RefObject<HTMLDivElement> = React.createRef();
|
||||
public readonly containerRef: React.RefObject<HTMLDivElement> = React.createRef();
|
||||
|
||||
public componentDidMount() {
|
||||
if (this.containerRef.current && this.props.onScroll) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue