Fix unnecessary scrollbars on web (#10502)
This commit is contained in:
@@ -340,7 +340,9 @@ function ListImpl<ItemT>(
|
||||
ref={containerRef}
|
||||
style={[
|
||||
contentContainerStyle,
|
||||
desktopFixedHeight ? styles.minHeightViewport : null,
|
||||
desktopFixedHeight && !disableFullWindowScroll
|
||||
? styles.minHeightViewport
|
||||
: null,
|
||||
]}>
|
||||
<Visibility
|
||||
root={disableFullWindowScroll ? nativeRef : null}
|
||||
|
||||
Reference in New Issue
Block a user