This commit is contained in:
Rainer Simon 2021-09-05 08:12:48 +02:00
parent ac8ec7a08e
commit b681ad6a00
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ export default class Editor extends Component {
initResizeObserver = () => {
// Defaults to true
const autoPosition =
this.props.editorAutoPosition === undefined ? true : this.props.editorAutoPosition;
this.props.autoPosition === undefined ? true : this.props.autoPosition;
if (window?.ResizeObserver) {
const resizeObserver = new ResizeObserver(() => {