From 81fc898bb8de57d8da26c72245c22504f29019b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolas=20Schr=C3=B6ter?= Date: Tue, 31 Mar 2026 13:13:00 +0200 Subject: [PATCH 1/3] fix: story scroll end --- packages/react-aria-components/stories/ListBox.stories.tsx | 6 ++++-- packages/react-aria-components/stories/utils.tsx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/react-aria-components/stories/ListBox.stories.tsx b/packages/react-aria-components/stories/ListBox.stories.tsx index 8a7b98c8d96..7d255adad9e 100644 --- a/packages/react-aria-components/stories/ListBox.stories.tsx +++ b/packages/react-aria-components/stories/ListBox.stories.tsx @@ -353,6 +353,8 @@ function generateRandomString(minLength: number, maxLength: number): string { function VirtualizedListBoxRender(args): JSX.Element { let {variableHeight, isLoading, orientation} = args; + let estimatedRowHeight = orientation === 'horizontal' ? 117 : 25; + let estimatedHeadingHeight = orientation === 'horizontal' ? 63 : 25; let heightProperty = orientation === 'horizontal' ? 'width' : 'height'; let widthProperty = orientation === 'horizontal' ? 'height' : 'width'; let sections: {id: string, name: string, children: {id: string, name: string}[]}[] = []; @@ -369,8 +371,8 @@ function VirtualizedListBoxRender(args): JSX.Element { diff --git a/packages/react-aria-components/stories/utils.tsx b/packages/react-aria-components/stories/utils.tsx index 5d5562e3e23..581fb6506f1 100644 --- a/packages/react-aria-components/stories/utils.tsx +++ b/packages/react-aria-components/stories/utils.tsx @@ -14,7 +14,7 @@ export const MyListBoxItem = (props: ListBoxItemProps) => { return ( classNames(styles, 'item', { focused: isFocused, selected: isSelected, From ac1b535604ad54b3c81b0824019ae3fbac8926dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolas=20Schr=C3=B6ter?= Date: Tue, 31 Mar 2026 13:16:43 +0200 Subject: [PATCH 2/3] chore: revert oopsie --- packages/react-aria-components/stories/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-aria-components/stories/utils.tsx b/packages/react-aria-components/stories/utils.tsx index 581fb6506f1..5d5562e3e23 100644 --- a/packages/react-aria-components/stories/utils.tsx +++ b/packages/react-aria-components/stories/utils.tsx @@ -14,7 +14,7 @@ export const MyListBoxItem = (props: ListBoxItemProps) => { return ( classNames(styles, 'item', { focused: isFocused, selected: isSelected, From ca44c1e2bb8dc97d5c16b0d183475baf6cb74efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolas=20Schr=C3=B6ter?= <25958801+nwidynski@users.noreply.github.com> Date: Tue, 31 Mar 2026 13:56:55 +0200 Subject: [PATCH 3/3] chore: typo --- packages/react-aria-components/stories/ListBox.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-aria-components/stories/ListBox.stories.tsx b/packages/react-aria-components/stories/ListBox.stories.tsx index 7d255adad9e..110c6885a5f 100644 --- a/packages/react-aria-components/stories/ListBox.stories.tsx +++ b/packages/react-aria-components/stories/ListBox.stories.tsx @@ -354,7 +354,7 @@ function generateRandomString(minLength: number, maxLength: number): string { function VirtualizedListBoxRender(args): JSX.Element { let {variableHeight, isLoading, orientation} = args; let estimatedRowHeight = orientation === 'horizontal' ? 117 : 25; - let estimatedHeadingHeight = orientation === 'horizontal' ? 63 : 25; + let estimatedHeadingHeight = orientation === 'horizontal' ? 63 : 26; let heightProperty = orientation === 'horizontal' ? 'width' : 'height'; let widthProperty = orientation === 'horizontal' ? 'height' : 'width'; let sections: {id: string, name: string, children: {id: string, name: string}[]}[] = [];