jooking / closure-library

Automatically exported from code.google.com/p/closure-library
Apache License 2.0
0 stars 1 forks source link

Incorrect event handling in Container with enabled focus #432

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

See attached test.html (create Container, fill with Controls, scroll up to the 
top of the page if necessary and click on first Control).

What is the expected output? What do you see instead?

You should see event for the first Control (Item0). Instead, you get an event 
for Item1 or Item2.

When you click and hold on Item0, whole Container moves up and when you release 
the click, you receive event for Item1 or Item2 (but not Item0). The bigger 
margin or padding on body element, the bigger jump. So you receive event for an 
item you didn't click on. When setFocusable is set to "false", issue is not 
present.

What version of the product are you using? On what operating system?

Revision 1641, Win7, IE8, Chrome 17 (FF 10 not affected by this problem)

Original issue reported on code.google.com by ladislav...@gmail.com on 8 Mar 2012 at 7:46

Attachments:

GoogleCodeExporter commented 9 years ago
assigned for verfication

Original comment by nn...@google.com on 11 May 2012 at 8:11