HiltonRoscoe / RemoteBallotMarking

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

Keyboard navigation issue #12

Closed JDziurlaj closed 5 years ago

JDziurlaj commented 5 years ago

Use of keyboard navigation to select a contest option does not operate the same way as mouse. The mouseDown event appears to run before calculate, but the click event (which the keyboard also triggers) runs after.

JDziurlaj commented 5 years ago

Identified issue to be a result of not enough events being subscribed to set the SelectionManager.mostRecentlyCheckedSOM it appears that the following events are required:

Change seem to be required for an edge case of hitting spacebar twice without causing any other event to fire.

JDziurlaj commented 5 years ago

Fixed.