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 873086b commit 61b9273Copy full SHA for 61b9273
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "rc-scroll-anim",
3
- "version": "0.5.2",
+ "version": "0.5.3",
4
"description": "scroll-anim anim component for react",
5
"keywords": [
6
"react",
src/EventDispatcher.js
@@ -86,7 +86,7 @@ EventDispatcher.prototype = {
86
const namespaces = types[1];
87
const list = this._listeners[_type];
88
this.recoverLists = this.recoverLists.concat(dataToArray(list).filter(item =>
89
- item.n.match(namespaces)
+ item.n && item.n.match(namespaces)
90
));
91
this.recoverLists.forEach(item => {
92
this.removeEventListener(`${item.t}.${item.n}`, item.c);
0 commit comments