Tab between fields causes Chrome and Firefox lockup and rapid memory leak

I have a client who’s PC is dying when tabbing between invoice fields. It happened with the old version and having updated it to 2.7.1 today, it’s still happening. I have cleared cache, history and cookies. It happens on FF and Chrome (although FF doesn’t have the PDF preview for some reason).
Surprisingly doesn’t happen for me…
Yesterday’s logs were showing an error:
production.ERROR: Invalid offset/length when creating typed array
production.ERROR: RangeError: invalid array length: {“functionName”:“St”,“fileName”:“",“lineNumber”:8026,"columnNumber”:14067} {“context”:“JavaScript”,“user_id”:0,“account_id”:0,“user_name”:"",“method”:“GET”,“url”:“",“user_agent”:"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0”,“ip”:“”,“count”:2} []

No server side errors today with the new version… but browser still hanging… any clues?

We recently tracked down an issue which could occur when focusing the description field.

Here’s the fix:

Cheers, thanks Hillel. I replaced those two files. There was an error that it could not find the max invoice items constant but I just hard coded a number in there for now.

And it works now!

Great to hear, thanks for letting us know!

We’ll include this fix with our next release.