The following is a bug that only occurs in Chrome and therefore may be
a Chrome bug and not a GWT bug.

If I create a FocusPanel and place a TextBox inside it, it takes
several (more than 4) mouse clicks on the TextBox to give focus to the
TextBox so you can start typing. This problem does not exist in IE nor
FF.

This is easily reproducible. I created a new blank project and simply
put a TextBox inside a FocusPanel.

I want to find a workaround. If anyone can help me find one, that
would be great!

I currently do not know what is causing the problem, but I am curious
as to the existence of the <input type="text"> that is created as the
first inner child of all FocusPanel divs. I do not understand why that
is necessary. Any DIV can have the key events, mouse events and focus
events added to them, so why is that invisible input needed?

I am thinking of writing my own version of the FocusPanel, but I'm not
going to do that right away.

GWT 2.0
App Engine 1.3
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to