I am trying to write sort of custom suggestBox for RichTextArea, it
works fine but i have a little problem on IE8:

i have a popup with a listbox of "suggestions" in it, i can choose
what word to insert by using arrow keys, but as i select which one to
insert, on the RichTextArea i get the word i've chosen AND the enter
key, so i get a newline after the word...

So it comes that the enter key i used on the popup to confirm the word
is also read by the RichTextArea, how can i avoid it to happen, is
there any call i can use to "capture" that Enter Key?

i tried both event.stopPropagation() and event.preventDefault() on the
onKeyPress handler but it doesn't work...

-- 
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