Skip to content

Commit 881ad74

Browse files
Merge branch 'next'
2 parents 2e1dd30 + ae0e6b3 commit 881ad74

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-chat-elements",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "Reactjs chat components",
55
"author": "Avare Kodcu <abdurrahmaneker58@gmail.com>",
66
"main": "dist/main.js",

src/MessageList/MessageList.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ export class MessageList extends Component {
9595
})
9696
}
9797
}
98+
99+
if (this.props.onScroll instanceof Function) {
100+
this.props.onScroll(e);
101+
}
98102
}
99103

100104
toBottom(e) {

0 commit comments

Comments
 (0)