diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2022-08-03 12:02:46 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-08-05 20:03:26 +0000 |
commit | aaacc791345ceefcf458bb4b368280df864dba5b (patch) | |
tree | 9a42d1c8d88afbd7add4851c33b7a90d75f9d002 | |
parent | 60686586a638bd709dbbfc3b1dcba5839ac01bc4 (diff) | |
download | sonarqube-aaacc791345ceefcf458bb4b368280df864dba5b.tar.gz sonarqube-aaacc791345ceefcf458bb4b368280df864dba5b.zip |
SONAR-16731 [891730] Content does not remain visible
2 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelect.tsx b/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelect.tsx index d59f1e68b0f..537c030644e 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelect.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelect.tsx @@ -101,6 +101,7 @@ export default class ProjectsSortingSelect extends React.PureComponent<Props> { value={value} /> <Tooltip + mouseLeaveDelay={1} overlay={ sortDesc ? translate('projects.sort_descending') : translate('projects.sort_ascending') }> diff --git a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/ProjectsSortingSelect-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/ProjectsSortingSelect-test.tsx.snap index a7b260023df..162da984de2 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/ProjectsSortingSelect-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/ProjectsSortingSelect-test.tsx.snap @@ -70,6 +70,7 @@ exports[`should handle the descending sort direction 1`] = ` } /> <Tooltip + mouseLeaveDelay={1} overlay="projects.sort_descending" > <ButtonIcon @@ -163,6 +164,7 @@ exports[`should render correctly for leak view 1`] = ` } /> <Tooltip + mouseLeaveDelay={1} overlay="projects.sort_ascending" > <ButtonIcon @@ -256,6 +258,7 @@ exports[`should render correctly for overall view 1`] = ` } /> <Tooltip + mouseLeaveDelay={1} overlay="projects.sort_ascending" > <ButtonIcon |