kiesraad / abacus

Abacus, software voor verkiezingsuitslagen en zetelverdeling
https://kiesraad-abacus.pages.dev
European Union Public License 1.2
19 stars 6 forks source link

Data-entry: row highlight missing when first input is automatically focussed #602

Closed jorisleker closed 1 day ago

jorisleker commented 1 week ago

Background

We recently implemented #503. The first input on the page is automatically focussed when navigating to a form section. When a NumberInput in our InputGrid is focussed, we also highlight the entire row (light blue background). When navigating to a form section, this highlight is not set.

Reproduction step

(testen in chrome on macos)

The highlight is correctly set if you focus the next input

When you manually move focus to the first input, it also receives input