Skip to content

Commit

Permalink
[rnmobile]: Added necessary this.onLayout.bind( this )
Browse files Browse the repository at this point in the history
  • Loading branch information
etoledom committed Jan 2, 2019
1 parent 5664ae7 commit b72c99b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/image/image-size.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class ImageSize extends Component {
width: undefined,
height: undefined,
};
this.onLayout = this.onLayout.bind( this );
}

componentDidUpdate( prevProps ) {
Expand Down

0 comments on commit b72c99b

Please sign in to comment.