Skip to content

Commit cb52f58

Browse files
committed
fix overflow on windows potentially...
1 parent 77b4b62 commit cb52f58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/@react-spectrum/s2/src/ComboBox.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ export let listbox = style<{size: 'S' | 'M' | 'L' | 'XL'}>({
153153
width: 'full',
154154
boxSizing: 'border-box',
155155
maxHeight: '[inherit]',
156-
overflow: 'auto',
156+
// TODO: Might help with horizontal scrolling happening on Windows, will need to check somehow. Otherwise, revert back to overflow: auto
157+
overflowY: 'auto',
158+
overflowX: 'hidden',
157159
fontFamily: 'sans',
158160
fontSize: 'control'
159161
});

0 commit comments

Comments
 (0)