I have an event preview handler that listens for KeyUpEvents and checks for 
ENTER and SPACE. I also have an ordinary GWT button with a ClickHandler. 
When triggering the GWT button using the keyboard the following happens

1.) Button focused and triggered via ENTER

=> ClickEvent triggered
=> Native Event preview handler triggered

2.) Button focused and triggered via SPACE

=> Native Event preview handler triggered
=> ClickEvent triggered


So the question is why does ENTER cause the event preview to be triggered 
after the button has triggered? I would expect it to always work like in 2) 
as it is an event preview handler.

Is this a possible GWT bug or just how browsers work? Tested it on FF and 
Chrome. Can anyone explain this to me?


-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to