Fix unnecessary scrollbars on web (#10502)

This commit is contained in:
DS Boyce
2026-05-15 11:56:19 -07:00
committed by GitHub
parent 9d98890fd2
commit cc7d8296f0
+3 -1
View File
@@ -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}