Skip to content

Commit

Permalink
Merge pull request #6 from infinum/fix/menu-select-visibility
Browse files Browse the repository at this point in the history
Fix react-select menu visibility when nested inside AnimatedVisibility component
  • Loading branch information
piqusy authored Sep 18, 2024
2 parents d72420a + 87ec677 commit 5aefa92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/select/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const multiValueRemoveStyles =
const clearIndicatorStyles = 'es-uic-text-gray-500 es-uic-p-1 es-uic-rounded-md hover:bg-red-50 hover:text-red-800 es-uic-transition';
const dropdownIndicatorStyles =
'es-uic-text-gray-500 es-uic-px-1 group-hover:es-uic-text-black [&>svg]:es-uic-transition-transform [&>svg]:es-uic-duration-500 [&>svg]:es-uic-size-5.5';
const menuStyles = 'es-uic-rounded-md es-uic-border es-uic-border-gray-200 es-uic-bg-white es-uic-shadow-lg es-uic-mt-1 es-uic-text-sm es-uic-overflow-x-hidden';
const menuStyles = 'es-uic-relative es-uic-z-50 es-uic-rounded-md es-uic-border es-uic-border-gray-200 es-uic-bg-white es-uic-shadow-lg es-uic-mt-1 es-uic-text-sm es-uic-overflow-x-hidden';
const optionStyles = {
base: 'es-uic-p-2 !es-uic-flex es-uic-items-center es-uic-gap-1.5 es-uic-text-gray-800 es-uic-rounded [&>svg]:es-uic-size-5 [&>svg]:es-uic-text-gray-500 es-uic-transition es-uic-mx-1 first:es-uic-mt-1 last:es-uic-mb-1 !es-uic-w-auto es-uic-min-h-9',
focus: 'es-uic-bg-gray-100 active:es-uic-bg-teal-700/15',
Expand Down

0 comments on commit 5aefa92

Please sign in to comment.