Skip to content

Commit 34f1c2b

Browse files
Trigger resize when image load event bubbles up
1 parent ac353f1 commit 34f1c2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/equalizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default class Equalizer extends Component {
9090
render() {
9191
const {children, property, byRow, enabled, nodes, ...otherProps} = this.props
9292
return (
93-
<div {...otherProps}>
93+
<div onLoad={this.handleResize} {...otherProps}>
9494
{children}
9595
</div>
9696
)

0 commit comments

Comments
 (0)