Describe the bug
In the Add New Task page, when the "Continue to add next task" option is selected, completing the current task does not behave as expected.
Instead of scrolling to the top, and focusing on the Task input field, the page scrolls and focuses on the last focused position of the previous task.
This means that if the previous task was focused on a different input field, such as the "Task Type" option, the page does not scroll to the top and focus on the Task input field as expected.
To Reproduce
Steps to reproduce the behavior:
Navigate to the Add New Task page.
Select the "Continue to add next task" option.
Complete the current task.
Observe the page behavior.
Expected behavior
After completing the current task with the "Continue to add next task" option selected, the page should automatically scroll to the top, and focus on the Task input field, ensuring a seamless transition for adding subsequent tasks.
Screenshots
None
Environments and Version (please complete the following information):
Describe the bug In the Add New Task page, when the "Continue to add next task" option is selected, completing the current task does not behave as expected.
Instead of scrolling to the top, and focusing on the Task input field, the page scrolls and focuses on the last focused position of the previous task.
This means that if the previous task was focused on a different input field, such as the "Task Type" option, the page does not scroll to the top and focus on the Task input field as expected.
To Reproduce Steps to reproduce the behavior:
Expected behavior After completing the current task with the "Continue to add next task" option selected, the page should automatically scroll to the top, and focus on the Task input field, ensuring a seamless transition for adding subsequent tasks.
Screenshots None
Environments and Version (please complete the following information):
Additional context None