Skip to content

Commit

Permalink
Trigger resize when image load event bubbles up
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickgalbraith authored Dec 22, 2016
1 parent ac353f1 commit 34f1c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equalizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default class Equalizer extends Component {
render() {
const {children, property, byRow, enabled, nodes, ...otherProps} = this.props
return (
<div {...otherProps}>
<div onLoad={this.handleResize} {...otherProps}>
{children}
</div>
)
Expand Down

0 comments on commit 34f1c2b

Please sign in to comment.