Skip to content

Commit

Permalink
Block Editor: Restore WritingFlow computeCaretRect target argument
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed May 16, 2019
1 parent 4e45835 commit 72539b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/writing-flow/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class WritingFlow extends Component {
if ( ! isVertical ) {
this.verticalRect = null;
} else if ( ! this.verticalRect ) {
this.verticalRect = computeCaretRect();
this.verticalRect = computeCaretRect( target );
}

// This logic inside this condition needs to be checked before
Expand Down

0 comments on commit 72539b8

Please sign in to comment.