Skip to content

Commit 64d545d

Browse files
Test resizing of listbox (#1113)
* Test resizing of listbox Had to bring back inherit so that it wouldn't break outside of a display flex had to include width 100% so that listbox would render by default Brought back the large testing story so we could verify all of those as well * fix indent * fix lint * fix indent * fix lint * fix more lint * remove CSS now that i understand what was happening fix stories to account for how it actually works * Add a resizable story to breadcrumbs Co-authored-by: Danni <[email protected]>
1 parent 725bceb commit 64d545d

File tree

2 files changed

+157
-30
lines changed

2 files changed

+157
-30
lines changed

packages/@react-spectrum/breadcrumbs/stories/Breadcrumbs.stories.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ storiesOf('Breadcrumbs', module)
8989
'isDisabled: true, isMultiline',
9090
() => render({isDisabled: true, isMultiline: true})
9191
)
92+
.add(
93+
'resizeable',
94+
() => (
95+
<div style={{minWidth: '100px', width: '300px', padding: '10px', resize: 'horizontal', overflow: 'auto', backgroundColor: 'var(--spectrum-global-color-gray-50)'}}>
96+
{renderMany({})}
97+
</div>
98+
)
99+
)
92100
// .add(
93101
// 'last item Heading',
94102
// () => renderHeading()

0 commit comments

Comments
 (0)