HiltonRoscoe / RemoteBallotMarking

Remote Ballot Marker
GNU Affero General Public License v3.0
0 stars 0 forks source link

Set focus on first 'failed' contest #7

Open JDziurlaj opened 6 years ago

JDziurlaj commented 6 years ago

Description

The set focus on first failed contest does not always scroll to the correct place.

Reproduction Steps

Leave at least one contest undervoted. Click the validation button. (this issue is not consistently reproducible)

JDziurlaj commented 5 years ago

This does not appear to be a GC issue. The same parameters values are passed to event.target.scroll each time.

JDziurlaj commented 5 years ago

It appears that the pageNum does not take. It will use the previous value instead (e.g. if the error was on page two (and validated), but moves to page one, it will go to the location on page two.)