Skip to content

Commit 4d3fd58

Browse files
committed
condition changed
1 parent 1c4812b commit 4d3fd58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/packages/lowcoder/src/comps/comps/listViewComp/listViewPropertyView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ export function listPropertyView(compType: ListCompType) {
6262
{(useContext(EditorContext).editorModeStatus === "layout" || useContext(EditorContext).editorModeStatus === "both") && (
6363
<><Section name={sectionNames.layout}>
6464
{children.autoHeight.getPropertyView()}
65-
{(!children.autoHeight.getView()) &&
65+
{(!children.autoHeight.getView()) && !children.horizontal.getView()&&
6666
children.showVerticalScrollbar.propertyView({
6767
label: trans("prop.showVerticalScrollbar"),
6868
}
6969
)}
70-
{(!children.autoHeight.getView() || children.horizontal.getView()) &&
70+
{(children.horizontal.getView()) &&
7171
children.showHorizontalScrollbar.propertyView({
7272
label: trans("prop.showHorizontalScrollbar"),
7373
}

0 commit comments

Comments
 (0)