Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68150c9

Browse files
Merge pull request#2078 from iamfaran/feat/nav-features
[Feat]: Add navigation UI enhancements
2 parentsfed088d +0c1c690 commit68150c9

File tree

11 files changed

+1139
-219
lines changed

11 files changed

+1139
-219
lines changed

‎client/packages/lowcoder-design/src/components/Dropdown.tsx‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,6 @@ export function Dropdown<T extends OptionsType>(props: DropdownProps<T>) {
159159
const{ placement="right"}=props;
160160
constvalueInfoMap=_.fromPairs(props.options.map((option)=>[option.value,option]));
161161

162-
useEffect(()=>{
163-
constdropdownElems=document.querySelectorAll<HTMLElement>("div.ant-dropdown ul.ant-dropdown-menu");
164-
for(letindex=0;index<dropdownElems.length;index++){
165-
constelement=dropdownElems[index];
166-
element.style.maxHeight="300px";
167-
element.style.overflowY="scroll";
168-
element.style.minWidth="150px";
169-
element.style.paddingRight="10px";
170-
}
171-
},[]);
172162

173163
return(
174164
<FlexDivstyle={props.style}className={props.className}>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp