disable detectPositionChange by default

This commit is contained in:
Aakansha Doshi 2021-04-11 01:40:46 +05:30
parent bfc8415554
commit 4fb906baad
2 changed files with 1 additions and 2 deletions

View File

@ -325,7 +325,6 @@ const ExcalidrawWrapper = () => {
langCode={langCode} langCode={langCode}
renderCustomStats={renderCustomStats} renderCustomStats={renderCustomStats}
detectScroll={false} detectScroll={false}
detectPositionChange={false}
/> />
{excalidrawAPI && <CollabWrapper excalidrawAPI={excalidrawAPI} />} {excalidrawAPI && <CollabWrapper excalidrawAPI={excalidrawAPI} />}
{errorMessage && ( {errorMessage && (

View File

@ -31,7 +31,7 @@ const Excalidraw = (props: ExcalidrawProps) => {
renderCustomStats, renderCustomStats,
onPaste, onPaste,
detectScroll = true, detectScroll = true,
detectPositionChange = true, detectPositionChange = false,
} = props; } = props;
const canvasActions = props.UIOptions?.canvasActions; const canvasActions = props.UIOptions?.canvasActions;