disable detectPositionChange by default

pull/3428/head
Aakansha Doshi 4 years ago
parent bfc8415554
commit 4fb906baad

@ -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 && (

@ -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;

Loading…
Cancel
Save