autoAdjustHeight property

bool autoAdjustHeight

The editor will automatically adjust its height once the page is loaded to ensure there is no vertical scrolling or empty space. It will only perform the adjustment when the editor is the loaded page.

It will also disable vertical scrolling on the webview, so scrolling on the webview will actually scroll the rest of the page rather than doing nothing because it is trying to scroll the webview container.

The default value is true. It is recommended to leave this as true because it significantly improves the UX.

Implementation

bool get autoAdjustHeight => editorOptions.height == null;