Skip to content

Commit be2c009

Browse files
committed
fix: double scrollbar in operator/group dropdowns
1 parent cf1bc2b commit be2c009

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/components/editor/OperationEditor.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,6 @@ export const StageNameInput: FC<{
155155
selectedItem={selectedLevel}
156156
onItemSelect={selectLevel}
157157
inputValueRenderer={(item) => `${item.catThree} ${item.name}`}
158-
popoverContentProps={{
159-
className: 'max-h-64 overflow-auto',
160-
}}
161158
noResults={<MenuItem disabled text="没有匹配的关卡" />}
162159
createNewItemFromQuery={(query) => createCustomLevel(query)}
163160
createNewItemRenderer={(query, active, handleClick) => (

src/components/editor/operator/EditorOperatorGroupSelect.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ export const EditorOperatorGroupSelect = ({
5757
selected={active}
5858
/>
5959
)}
60-
popoverContentProps={{
61-
className: 'max-h-64 overflow-auto',
62-
}}
6360
noResults={<MenuItem disabled text={`没有匹配的干员组`} />}
6461
inputProps={{
6562
placeholder: `干员组名`,

0 commit comments

Comments
 (0)