posabsolute/jQuery-Validation-Engine — Issue #297: Validator steals keyboard focus
Author: cowwoc
Created: 2012-03-08 04:22:31+00:00
State: open

There seems to be some sort of race-condition bug in commit b9fe2e94eb.

1. Run this testcase:

```html

Household income:$

Monthly expenses:$

Cost of house:$

Financial buffer for emergencies (auto-filled)

Property taxes:$

Heating costs:$

Condo fees:$

Insurance:$

Down payment:$

Closing fees:$

Interest rate:$

Interest term:$

Payment frequency:

Month
Expenses

1

$1000

```
2. Enter "100 100 100" very quickly.
3. Notice how after the second tab, the keyboard focus jumps from the third field back to the second, then a second later jumps back to the third. If a user attempts to type after the second tab his data goes into the wrong field.