posabsolute/jQuery-Validation-Engine — Issue #228: Problems with overflow  
Author: lamuzzachiodi
Created: 2011-12-20 05:43:39+00:00
State: open

The demo of overflown v. 2.5 fails in scroll in order to focus the first field erroneous (instead keep in the last field).
After check the code i found two problems:
1) Let be the code
var overflowDIV = $(options.overflownDIV);
if(!overflowDIV.length) return false;

According to documentation ( and as is used in the demo´s code) seems like you don´t need anymore add the name of overflow div. So, the second line is false, ever.

2) The commit "fix small bug with scroll + add failover" (50f0915edce2ddf02a895ebd20dc10f7908b8b50)
I don´t know what bug fix this, but it brokes the focus/scrolling at first field with error in the overflow (relative) mode. This worked ok until 2.2.4.