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