- Introduce deps listener context and move the old code. - Add support for deffered deps change - deferredDepChange. - Changes for canEditRow and canDeleteRow. - Select the tab again on visible if it is rendered when hidden. - It is helpful to show the error footer in SQL tab also. - Fix isEmptyString.

This commit is contained in:
Aditya Toshniwal
2021-07-15 14:00:02 +05:30
committed by Akshay Joshi
parent 5c1ce23780
commit a06f78b2d5
7 changed files with 336 additions and 115 deletions

View File

@@ -19,6 +19,9 @@ const useStyles = makeStyles((theme)=>({
padding: theme.spacing(1),
overflow: 'auto',
backgroundColor: theme.palette.grey[400]
},
content: {
height: '100%',
}
}));
@@ -28,7 +31,7 @@ export default function TabPanel({children, classNameRoot, className, value, ind
const active = value === index;
return (
<Box className={clsx(classes.root, classNameRoot)} component="div" hidden={!active}>
<Box style={{height: '100%'}} className={className}>{children}</Box>
<Box className={clsx(classes.content, className)}>{children}</Box>
</Box>
);
}