fix rte scroll handler firing on child scroll
This commit is contained in:
parent
bc27296859
commit
1440caf3d0
@ -81,7 +81,9 @@ export class StickyContext extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleScroll = (event) => {
|
handleScroll = (event) => {
|
||||||
this.updateStickies(event.target);
|
if (event.target === this.ref) {
|
||||||
|
this.updateStickies(this.ref);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user