File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
simple-tree-view/expansion Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default function ApiMethodIsItemExpanded() {
48
48
} ;
49
49
50
50
return (
51
- < Stack spacing = { 2 } >
51
+ < Stack spacing = { 2 } sx = { { position : 'relative' } } >
52
52
< Stack spacing = { 2 } direction = "row" >
53
53
< Button onClick = { checkExpansion } >
54
54
Check if the the Data Grid is expanded
@@ -59,6 +59,7 @@ export default function ApiMethodIsItemExpanded() {
59
59
onClose = { ( ) => setIsSnackbarOpen ( false ) }
60
60
message = { `Data Grid is ${ isGridExpanded ? 'expanded' : 'collapsed' } ` }
61
61
anchorOrigin = { { vertical : 'bottom' , horizontal : 'center' } }
62
+ sx = { { position : 'absolute' } }
62
63
/>
63
64
</ Stack >
64
65
< Box sx = { { minHeight : 352 , minWidth : 250 } } >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default function ApiMethodIsItemExpanded() {
48
48
} ;
49
49
50
50
return (
51
- < Stack spacing = { 2 } >
51
+ < Stack spacing = { 2 } sx = { { position : 'relative' } } >
52
52
< Stack spacing = { 2 } direction = "row" >
53
53
< Button onClick = { checkExpansion } >
54
54
Check if the the Data Grid is expanded
@@ -59,6 +59,7 @@ export default function ApiMethodIsItemExpanded() {
59
59
onClose = { ( ) => setIsSnackbarOpen ( false ) }
60
60
message = { `Data Grid is ${ isGridExpanded ? 'expanded' : 'collapsed' } ` }
61
61
anchorOrigin = { { vertical : 'bottom' , horizontal : 'center' } }
62
+ sx = { { position : 'absolute' } }
62
63
/>
63
64
</ Stack >
64
65
< Box sx = { { minHeight : 352 , minWidth : 250 } } >
Original file line number Diff line number Diff line change 8
8
onClose={() => setIsSnackbarOpen(false)}
9
9
message={`Data Grid is ${isGridExpanded ? 'expanded' : 'collapsed'}`}
10
10
anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }}
11
+ sx={{ position: 'absolute' }}
11
12
/>
12
13
</Stack>
13
14
<Box sx={{ minHeight: 352, minWidth: 250 }}>
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default function ApiMethodIsItemExpanded() {
18
18
} ;
19
19
20
20
return (
21
- < Stack spacing = { 2 } >
21
+ < Stack spacing = { 2 } sx = { { position : 'relative' } } >
22
22
< Stack spacing = { 2 } direction = "row" >
23
23
< Button onClick = { checkExpansion } >
24
24
Check if the the Data Grid is expanded
@@ -29,6 +29,7 @@ export default function ApiMethodIsItemExpanded() {
29
29
onClose = { ( ) => setIsSnackbarOpen ( false ) }
30
30
message = { `Data Grid is ${ isGridExpanded ? 'expanded' : 'collapsed' } ` }
31
31
anchorOrigin = { { vertical : 'bottom' , horizontal : 'center' } }
32
+ sx = { { position : 'absolute' } }
32
33
/>
33
34
</ Stack >
34
35
< Box sx = { { minHeight : 352 , minWidth : 250 } } >
You can’t perform that action at this time.
0 commit comments