fix rte scroll handler firing on child scroll

This commit is contained in:
Shawn Erquhart 2017-05-23 16:31:26 -04:00 committed by David Calavera
parent bc27296859
commit 1440caf3d0

View File

@ -81,7 +81,9 @@ export class StickyContext extends Component {
}
handleScroll = (event) => {
this.updateStickies(event.target);
if (event.target === this.ref) {
this.updateStickies(this.ref);
}
};
render() {