diff --git a/src/renderer/src/scripts/organize-dataset/verify-file-statuses.js b/src/renderer/src/scripts/organize-dataset/verify-file-statuses.js index 5c2739023..2a6683d77 100644 --- a/src/renderer/src/scripts/organize-dataset/verify-file-statuses.js +++ b/src/renderer/src/scripts/organize-dataset/verify-file-statuses.js @@ -15,6 +15,10 @@ let failedFilesPathsList = []; document.querySelector("#guided--verify-files-button").addEventListener("click", async () => { document.querySelector("#guided--validate-dataset-upload").classList.remove("hidden"); + // scroll to the guided--validate-dataset-upload div + document.querySelector("#guided--validate-dataset-upload").scrollIntoView({ + behavior: "smooth", + }); // disable self so verification cannot be re-ran without a retry document.querySelector("#guided--verify-files-button").disabled = true; @@ -43,6 +47,10 @@ document.querySelector("#guided--verify-files-button").addEventListener("click", return; } + document.querySelector("#guided-dataset-upload-complete-message").scrollIntoView({ + behavior: "smooth", + }); + document.querySelector("#guided-next-button").disabled = false; document.querySelector("#guided-button-save-and-exit").disabled = false; });