File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ const LookupDropdown: FC<LookupDropdownProps> = ({
694694 < div
695695 id = { listboxId }
696696 className = 'slds-dropdown slds-dropdown_length-with-icon-7 slds-dropdown_fluid slds-scrollable_none'
697- style = { { maxHeight : RESET_MAX_HEIGHT } }
697+ style = { { maxHeight : LIST_PARENT_MAX_HEIGHT } }
698698 role = 'listbox'
699699 aria-label = 'Search Results'
700700 tabIndex = { 0 }
@@ -724,7 +724,7 @@ const LookupDropdown: FC<LookupDropdownProps> = ({
724724 ) : null }
725725 < ul
726726 className = 'slds-listbox slds-listbox_vertical slds-scrollable_y'
727- style = { { maxHeight : MAIN_LIST_BOX_MAX_HEIGHT } }
727+ style = { { maxHeight : LIST_CONTENT_MAX_HEIGHT } }
728728 role = 'presentation'
729729 onKeyDown = { onKeyDown }
730730 onBlur = { onBlur }
@@ -772,8 +772,8 @@ const LookupDropdown: FC<LookupDropdownProps> = ({
772772} ;
773773
774774// manually replaces where `max-height` is specified
775- const RESET_MAX_HEIGHT = 'unset' ;
776- const MAIN_LIST_BOX_MAX_HEIGHT = 'calc((1.5rem + 1rem) * 7)' ; // copied from `.slds-dropdown_length-with-icon-7`
775+ const LIST_PARENT_MAX_HEIGHT = 'unset' ;
776+ const LIST_CONTENT_MAX_HEIGHT = 'calc((1.5rem + 1rem) * 7)' ; // copied from `.slds-dropdown_length-with-icon-7`
777777
778778/**
779779 *
You can’t perform that action at this time.
0 commit comments