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 c780b3f commit 61d4b63Copy full SHA for 61d4b63
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "rc-scroll-anim",
3
- "version": "2.7.1",
+ "version": "2.7.2",
4
"description": "scroll-anim anim component for react",
5
"keywords": [
6
"react",
src/util.js
@@ -114,6 +114,9 @@ export function noop() {
114
}
115
116
export const getPassive = () => {
117
+ if (windowIsUndefined) {
118
+ return false;
119
+ }
120
let passiveSupported = false;
121
window.addEventListener(
122
'test',
0 commit comments