diff --git a/src/createListComponent.js b/src/createListComponent.js index 86696a0b..5be98a0a 100644 --- a/src/createListComponent.js +++ b/src/createListComponent.js @@ -326,7 +326,7 @@ export default function createListComponent({ ref: innerRef, style: { height: isHorizontal ? '100%' : estimatedTotalSize, - pointerEvents: isScrolling ? 'none' : '', + pointerEvents: isScrolling ? 'none' : null, width: isHorizontal ? estimatedTotalSize : '100%', }, })