Help! Very mysterious textarea component BUG

Hello all,

I’ve got a really weird problem with a program I’m working on. I’ve replicated this in a very simple file, so there is definitely something goofy going on.

Basic issue: Manipulating a text area component (scrolling it, selecting text) makes the paging buttons very inconsistent in their registering of clicks.

Check this file: http://www.strikelightmedia.com/tester.html

and do the following:

On loading of the page, just click the Next button and it will increment the number. Notice that you can click it as quickly as you like without the cursor moving position and it works great.

NOW - scroll the text field. Go back to the button and see how it doesn’t react well. If you don’t move the cursor between clicks, it often doesn’t register your clicks at all.

The next button is just a standard button. The script is dead simple and not the issue:

nextBtn.onRelease = function () { counter++; }

There is an obvious conflict here but I can’t see where I can fix this. This happens on Mac and PC, in Firefox, IE and Safari.