fix: Hide scrollbars on mobile (#3044)

* Hide scrollbars on mobile

* Fix package build

* Revert "Fix package build"

This reverts commit 7bf4a0aac1cbf370d682e827628ac72e99fb39d3.

* Make requested changes
This commit is contained in:
Arun 2021-02-19 17:25:58 +05:30 committed by GitHub
parent 9dd2257932
commit 74e82d0d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -972,6 +972,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
},
{
renderOptimizations: true,
renderScrollbars: !isMobile(),
},
);
if (scrollBars) {