We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb5ed6 commit 10bb4ccCopy full SHA for 10bb4cc
lib/sticky.js
@@ -180,8 +180,8 @@ var Sticky = (function(_React$Component) {
180
this.scrollSubscription = this.props.extObserver.subscribe(function(
181
event
182
) {
183
- if (this.props.match !== '') {
184
- if (event.type === this.props.match) {
+ if (_this.props.match !== '') {
+ if (event.type === _this.props.match) {
185
_this.recomputeState()
186
}
187
} else {
0 commit comments