Skip to content

Commit

Permalink
fix(select): revert footer visibility changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaRodyukov committed Oct 11, 2024
1 parent 71fd3f2 commit 35c6d3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-zebras-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@alfalab/core-components-select': patch
---

Откат скрытия футера при пустых опциях
2 changes: 1 addition & 1 deletion packages/select/src/components/options-list/Component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const OptionsList = forwardRef<HTMLDivElement, OptionsListProps>(

{nativeScrollbar ? renderWithNativeScrollbar() : renderWithCustomScrollbar()}

{showFooter && footer && flatOptions.length !== 0 && (
{showFooter && footer && (
<div
onMouseEnter={resetHighlightedIndex}
className={cn(styles.optionsListFooter, {
Expand Down

0 comments on commit 35c6d3e

Please sign in to comment.