Skip to content

Commit

Permalink
Fixed Bug 53901 - Client: Upload.There will be not a border line afte…
Browse files Browse the repository at this point in the history
…r clicking on SVG element. Tooltip will not be selected.
  • Loading branch information
TatianaLopaeva committed Nov 23, 2021
1 parent 1004ed5 commit a50d35e
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ const StyledFileRow = styled(Row)`
`}
}
`;
const StyledLoadErrorIcon = styled(LoadErrorIcon)`
outline: none !important;
`;

const FileRow = (props) => {
const {
Expand Down Expand Up @@ -192,15 +195,19 @@ const FileRow = (props) => {
</>
) : item.error || (!item.fileId && uploaded) ? (
<div className="upload_panel-icon">
<LoadErrorIcon
<StyledLoadErrorIcon
size="medium"
data-for="errorTooltip"
data-tip={item.error || t("Common:UnknownError")}
/>
<Tooltip
id="errorTooltip"
offsetTop={0}
getContent={(dataTip) => <Text fontSize="13px">{dataTip}</Text>}
getContent={(dataTip) => (
<Text fontSize="13px" noSelect>
{dataTip}
</Text>
)}
effect="float"
place="left"
maxWidth={320}
Expand Down

0 comments on commit a50d35e

Please sign in to comment.