Skip to content

Json components height #1091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Aug 8, 2024
Prev Previous commit
Next Next commit
extra dependency removed
  • Loading branch information
MenamAfzal committed Aug 7, 2024
commit 80a46ccff5e6dc2475a59f827675bcdd37bf2c2f
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ let JsonEditorTmpComp = (function () {
extensions,
});
}
}, [wrapperRef.current, props.showVerticalScrollbar]);
}, [wrapperRef.current]);

useEffect(() => {
if (state.current&&wrapperRef.current) {
view.current = new EditorView({ state: state.current, parent: wrapperRef.current });
Expand Down
Loading