Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarrramsey committed Nov 8, 2024
1 parent e824077 commit d53e7c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions weave-js/src/common/components/elements/ModifiedDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {Omit} from '../../types/base';
import {makePropsAreEqual} from '../../util/shouldUpdate';
import {Struct} from '../../util/types';
import {Option} from '../../util/uihelpers';
import {IconChevronDown} from '../../../components/Icon';

type LabelCoord = {
top: number;
Expand Down Expand Up @@ -445,11 +446,10 @@ const ModifiedDropdown: FC<ModifiedDropdownProps> = React.memo(
</div>
);
};
console.log('passProps', passProps);

return wrapWithDragDrop(
<Dropdown
{...passProps}
// className='ui selection dropdown custom-modified-dropdown"'
options={displayOptions}
lazyLoad
selectOnNavigation={false}
Expand All @@ -472,6 +472,7 @@ const ModifiedDropdown: FC<ModifiedDropdownProps> = React.memo(
}
}}
trigger={renderTrigger()}
icon={<IconChevronDown />}
/>
);
},
Expand Down Expand Up @@ -509,7 +510,7 @@ export const OptionWithTooltip: React.FC<OptionWithTooltipProps> = ({text}) => {
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis',
padding: '4px 8px',
// padding: '4px 8px',
height: '32px',
display: 'flex',
alignItems: 'center',
Expand All @@ -531,7 +532,6 @@ export const OptionWithTooltip: React.FC<OptionWithTooltipProps> = ({text}) => {
trigger={<span>{text}</span>}
/>
) : (
// <span style={{padding: '8px', overflow: 'hidden'}}>{text}</span>
text
)}
</div>
Expand Down

0 comments on commit d53e7c3

Please sign in to comment.