fix: scrollbars renders but disable (#6706)

This commit is contained in:
David Luzar
2023-06-22 14:35:01 +02:00
committed by GitHub
parent fb01ce2a00
commit 8dfa2a98bb
5 changed files with 11 additions and 10 deletions

View File

@ -1720,7 +1720,7 @@ class App extends React.Component<AppProps, AppState> {
theme: this.state.theme,
imageCache: this.imageCache,
isExporting: false,
renderScrollbars: !this.device.isMobile,
renderScrollbars: false,
},
callback: ({ atLeastOneVisibleElement, scrollBars }) => {
if (scrollBars) {