diff --git a/src/editor/Editor.jsx b/src/editor/Editor.jsx index cd39560..70e043e 100644 --- a/src/editor/Editor.jsx +++ b/src/editor/Editor.jsx @@ -22,7 +22,7 @@ const Editor = props => { if (element.current) setPosition(props.wrapperEl, element.current, props.bounds); - }, [ props.annotation ]); + }, [ props.annotation, props.bounds ]); const onAppendBody = body => setCurrentAnnotation( currentAnnotation.clone({