react-window
Advanced tools
Comparing version 1.0.2 to 1.0.3
Changelog | ||
------------ | ||
##### 1.0.3 | ||
* 🐛 Avoid unnecessary scrollbars for lists (e.g. no horizontal scrollbar for a vertical list) unless content requires them. | ||
##### 1.0.2 | ||
@@ -5,0 +8,0 @@ |
@@ -1057,6 +1057,6 @@ 'use strict'; | ||
style: { | ||
height: direction === 'horizontal' ? height : estimatedTotalSize, | ||
height: direction === 'horizontal' ? '100%' : estimatedTotalSize, | ||
overflow: 'hidden', | ||
pointerEvents: isScrolling ? 'none' : '', | ||
width: direction === 'horizontal' ? estimatedTotalSize : width | ||
width: direction === 'horizontal' ? estimatedTotalSize : '100%' | ||
} | ||
@@ -1063,0 +1063,0 @@ })); |
@@ -1053,6 +1053,6 @@ import { createElement, PureComponent } from 'react'; | ||
style: { | ||
height: direction === 'horizontal' ? height : estimatedTotalSize, | ||
height: direction === 'horizontal' ? '100%' : estimatedTotalSize, | ||
overflow: 'hidden', | ||
pointerEvents: isScrolling ? 'none' : '', | ||
width: direction === 'horizontal' ? estimatedTotalSize : width | ||
width: direction === 'horizontal' ? estimatedTotalSize : '100%' | ||
} | ||
@@ -1059,0 +1059,0 @@ })); |
{ | ||
"name": "react-window", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": | ||
@@ -5,0 +5,0 @@ "React components for efficiently rendering large, scrollable lists and tabular data", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125242