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<{
5757} > `
5858 height: ${ ( props ) => ( props . $autoHeight ? "auto" : "100%" ) } ;
5959 display: flex;
60- flex-direction: ${ ( props ) => ( props . $isHorizontal && ! props . $isGrid ? "row" : "column" ) } ;
60+ flex-direction: ${ ( props ) => ( props . $isHorizontal ? "row" : "column" ) } ;
6161 height: 100%;
6262` ;
6363
@@ -167,6 +167,7 @@ type Props = {
167167} ;
168168
169169export function ListView ( props : Props ) {
170+ console . log ( "🚀 ~ ListView ~ props:" , props )
170171 const { comp } = props ;
171172 const children = comp . children ;
172173 const ref = useRef ( null ) ;
@@ -189,6 +190,7 @@ export function ListView(props: Props) {
189190 const showHorizontalScrollbar = useMemo ( ( ) => children . showHorizontalScrollbar . getView ( ) , [ children . showHorizontalScrollbar ] ) ;
190191 const showVerticalScrollbar = useMemo ( ( ) => children . showVerticalScrollbar . getView ( ) , [ children . showVerticalScrollbar ] ) ;
191192 const horizontal = useMemo ( ( ) => children . horizontal . getView ( ) , [ children . horizontal ] ) ;
193+ console . log ( "🚀 ~ ListView ~ horizontal:" , horizontal )
192194 const minHorizontalWidth = useMemo ( ( ) => children . minHorizontalWidth . getView ( ) , [ children . minHorizontalWidth ] ) ;
193195 const noOfColumns = useMemo (
194196 ( ) => Math . max ( 1 , children . noOfColumns . getView ( ) ) ,
You can’t perform that action at this time.
0 commit comments