Skip to content

"Fill in form again" scrolls to bottom instead of top (regression) #867

Description

@latin-panda

Expected Behaviour

After submitting a Web Form and choosing "Fill in form again," the reloaded form should be scrolled to the top with focus on the first question. This was previously fixed in Web Forms (see getodk/central-frontend#1554), but it's no longer working.

Observed Behaviour

On Send, the form scrolls to the top and the "fill out again" prompt appears. But clicking the prompt lands the user back at the bottom of the form (at the Send button) instead of the top. On a long form this forces a manual scroll back up to the first question.

Reproduction Steps

Steps:

  1. Open a long Web Form (enough content that the top and Send button are not visible at the same time).
  2. Fill it in and click Send.
  3. When the "Fill in form again" prompt appears, click it.
  4. Observe that the reloaded form is scrolled to the bottom (Send button) rather than the top / first question.

Environment

  • Browser version: chrome
  • OS: Macos
  • Web Forms version: bundled with ODK Central v2026.2.0

Additional Context

Reported on the ODK forum. Previously fixed in Web Forms via getodk/central-frontend#1554, so this looks like a regression.

Metadata

Metadata

Assignees

Type

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions