Friday, March 8, 2013

TextArea with SuggestBox moves cursor in new line?

Hi,

having a simple TextArea with SuggestBox. When I select an entry using ENTER in the popup list, then the entry is placed into the TextArea and the cursor is moved one line down due to the linebreak of Enter key.
Is this intended? How could I prevent this? Like suggestBox.getSuggestionPopup.isVisible(). Unfortunately the suggestionPopup is private and has no accessor in SuggestBox... Otherwise I could attach a custom KeyDownHandler to the suggestBox and prevent ENTER key when popup is visible...

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate