We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
editor.onDidContentSizeChange
To make editor height dynamically to the content size, we can follow solution.
microsoft/monaco-editor#794 (comment)
But while using this package, i'm having trouble accessing to onDidContentSizeChange.
onDidContentSizeChange
const monaco = useMonaco(); useEffect(() => { if (monaco) { monaco.editor.onDidContentSizeChange(updateHeight); } }, [props.src]); return ( <Editor loading={<></>} // TODO: add loading state. theme="vs-dark" .... /> );
The text was updated successfully, but these errors were encountered:
Solved.
Solution here: gridaco/assistant@5154b29
Sorry, something went wrong.
No branches or pull requests
To make editor height dynamically to the content size, we can follow solution.
microsoft/monaco-editor#794 (comment)
But while using this package, i'm having trouble accessing to
onDidContentSizeChange
.The text was updated successfully, but these errors were encountered: