diff --git a/frontend/src/components/taskSelection/actionSidebars.js b/frontend/src/components/taskSelection/actionSidebars.js
index 561d23d2fe..85e260a08e 100644
--- a/frontend/src/components/taskSelection/actionSidebars.js
+++ b/frontend/src/components/taskSelection/actionSidebars.js
@@ -185,9 +185,10 @@ export function CompletionTabForMapping({
)}
{showReadCommentsAlert && (
historyTabSwitch()}
+ onKeyDown={() => {}}
>
@@ -586,19 +587,12 @@ const TaskValidationSelector = ({
// the contributors is filled only on the case of single task validation,
// so we need to fetch the task history in the case of multiple task validation
useEffect(() => {
- if (showCommentInput && isValidatingMultipleTasks && !contributors.length) {
+ if (showCommentInput && isValidatingMultipleTasks) {
fetchLocalJSONAPI(`projects/${projectId}/tasks/${id}/`).then((response) =>
setContributorsList(getTaskContributors(response.taskHistory, userDetails.username)),
);
}
- }, [
- isValidatingMultipleTasks,
- showCommentInput,
- contributors,
- id,
- projectId,
- userDetails.username,
- ]);
+ }, [isValidatingMultipleTasks, showCommentInput, id, projectId, userDetails.username]);
return (
@@ -650,7 +644,7 @@ const TaskValidationSelector = ({
setVisibility(false)}
+ onKeyDown={() => {}}
>
@@ -836,6 +831,7 @@ function TaskSpecificInstructions({ instructions, open = true }: Object) {
className="ttu blue-grey mt1 mb0 pointer"
role="button"
onClick={() => setIsOpen(!isOpen)}
+ onKeyDown={() => {}}
>
{isOpen ? (