File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
client/packages/lowcoder/src/comps/comps/listViewComp Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const ListOrientationWrapper = styled.div<{
57
57
} > `
58
58
height: ${ ( props ) => ( props . $autoHeight ? "auto" : "100%" ) } ;
59
59
display: flex;
60
- flex-direction: ${ ( props ) => ( props . $isHorizontal && ! props . $isGrid ? "row" : "column" ) } ;
60
+ flex-direction: ${ ( props ) => ( props . $isHorizontal ? "row" : "column" ) } ;
61
61
height: 100%;
62
62
` ;
63
63
@@ -167,6 +167,7 @@ type Props = {
167
167
} ;
168
168
169
169
export function ListView ( props : Props ) {
170
+ console . log ( "🚀 ~ ListView ~ props:" , props )
170
171
const { comp } = props ;
171
172
const children = comp . children ;
172
173
const ref = useRef ( null ) ;
@@ -189,6 +190,7 @@ export function ListView(props: Props) {
189
190
const showHorizontalScrollbar = useMemo ( ( ) => children . showHorizontalScrollbar . getView ( ) , [ children . showHorizontalScrollbar ] ) ;
190
191
const showVerticalScrollbar = useMemo ( ( ) => children . showVerticalScrollbar . getView ( ) , [ children . showVerticalScrollbar ] ) ;
191
192
const horizontal = useMemo ( ( ) => children . horizontal . getView ( ) , [ children . horizontal ] ) ;
193
+ console . log ( "🚀 ~ ListView ~ horizontal:" , horizontal )
192
194
const minHorizontalWidth = useMemo ( ( ) => children . minHorizontalWidth . getView ( ) , [ children . minHorizontalWidth ] ) ;
193
195
const noOfColumns = useMemo (
194
196
( ) => Math . max ( 1 , children . noOfColumns . getView ( ) ) ,
You can’t perform that action at this time.
0 commit comments