vmui: disable ripple on nested component, enable copy text on button (#2808)

This commit is contained in:
Dmytro Kozlov 2022-07-01 10:52:45 +03:00 committed by Aliaksandr Valialkin
parent f3b905dde1
commit 7389fc9adf
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -33,7 +33,7 @@ const NestedNav: FC<RecursiveProps> = ({ trace, totalMsec}) => {
return (
<Box sx={{ bgcolor: "rgba(201, 227, 246, 0.4)" }}>
<ListItem onClick={handleListClick(trace.idValue)} sx={!hasChildren ? {p:0, pl: 7} : {p:0}}>
<ListItemButton alignItems={"flex-start"} sx={{ pt: 0, pb: 0}}>
<ListItemButton alignItems={"flex-start"} sx={{ pt: 0, pb: 0}} style={{ userSelect: "text" }} disableRipple>
{hasChildren ? <ListItemIcon>
{openLevels[trace.idValue] ?
<ExpandLess fontSize={"large"} color={"info"} /> :