Skip to content

Commit

Permalink
npm publish (0.0.276)
Browse files Browse the repository at this point in the history
  • Loading branch information
baegofda committed Nov 29, 2024
1 parent 708f7fa commit fa8aab7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bbodek-ui",
"version": "0.0.275",
"version": "0.0.276",
"type": "module",
"author": "Bbodek",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion src/core/components/Virtual/VirtualList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const VirtualList = forwardRef<HTMLElement, VirtualListProps>(
rootElement: RootElement,
listElement: ListElement,
className,
listClassName,
children,
},
ref,
Expand Down Expand Up @@ -78,7 +79,7 @@ const VirtualList = forwardRef<HTMLElement, VirtualListProps>(
onScroll={handleScroll}
>
<ListComponent
className={'relative'}
className={clsx(listClassName && listClassName, '!relative')}
style={{ height: `${totalItemsHeight}px` }}
>
{children({
Expand Down
1 change: 1 addition & 0 deletions src/core/components/Virtual/VirtualList/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export interface VirtualListProps<
P extends ElementType = 'div',
> extends Pick<HTMLAttributes<HTMLElement>, 'className'> {
itemHeight: number;
listClassName?: HTMLAttributes<HTMLElement>['className'];
itemsTotalCount: number;
rootElement?: T;
listElement?: P;
Expand Down

0 comments on commit fa8aab7

Please sign in to comment.