Skip to content

Commit 82e9f0b

Browse files
committed
Fix AutoExpandingEditableDiv height in expanded mode
1 parent 71d4621 commit 82e9f0b

File tree

1 file changed

+1
-2
lines changed
  • workspaces/ballerina/ballerina-side-panel/src/components/editors/MultiModeExpressionEditor/ChipExpressionEditor/components

1 file changed

+1
-2
lines changed

workspaces/ballerina/ballerina-side-panel/src/components/editors/MultiModeExpressionEditor/ChipExpressionEditor/components/AutoExpandingEditableDiv.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,8 @@ export const AutoExpandingEditableDiv = (props: AutoExpandingEditableDivProps) =
283283
style={{
284284
...style,
285285
flex: 1,
286-
maxHeight: props.isInExpandedMode ? `${EXPANDED_EDITOR_HEIGHT}px` : '100px',
286+
maxHeight: props.isInExpandedMode ? `none` : '100px',
287287
...(props.isInExpandedMode && {
288-
height: `${EXPANDED_EDITOR_HEIGHT}px`,
289288
minHeight: `${EXPANDED_EDITOR_HEIGHT}px`,
290289
})
291290
}}

0 commit comments

Comments
 (0)