We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfabc57 commit e11b88cCopy full SHA for e11b88c
hocs/withProjectedPosition.js
@@ -59,6 +59,9 @@ export default ({ throttleMs = 33 } = {}) => C =>
59
projectionResult: null,
60
});
61
}
62
+ if (this.props.onProjectedPosition) {
63
+ this.props.onProjectedPosition(result);
64
+ }
65
66
67
@@ -88,7 +91,6 @@ export default ({ throttleMs = 33 } = {}) => C =>
88
91
render() {
89
92
return (
90
93
<C
- onProjectedPosition={this.onProjectedPosition}
94
positionProjected={this.state.positionProjected}
95
projectionResult={this.state.projectionResult}
96
{...this.props}
0 commit comments