feat(ui): disable onlyRenderVisibleElements on Flow

This can cause stuttering when nodes are being moved in and out of the viewport. I think it's better to improve rendering/perf in other ways.
This commit is contained in:
psychedelicious 2023-12-31 00:00:07 +11:00 committed by Kent Keirsey
parent 539887b215
commit 8d2ef5afc3

View File

@ -283,7 +283,6 @@ export const Flow = memo(() => {
onPaneClick={handlePaneClick}
deleteKeyCode={DELETE_KEYS}
selectionMode={selectionMode}
onlyRenderVisibleElements
>
<Background />
</ReactFlow>