Fixed Bug 55331 - Added default cursor for modal dialog.

This commit is contained in:
Tatiana Lopaeva 2022-02-15 14:02:52 +03:00
parent 2ba6962e8c
commit c710545bdd

View File

@ -13,7 +13,8 @@ const StyledBackdrop = styled.div`
z-index: ${(props) => props.zIndex};
left: 0;
top: 0;
cursor: ${(props) => (props.needBackground ? "pointer" : "default")}; ;
cursor: ${(props) =>
props.needBackground && !props.isModalDialog ? "pointer" : "default"}; ;
`;
StyledBackdrop.defaultProps = {