Saturday, February 23, 2013

Re: TextBox - cannot select text with mouse?

It turned out that it was indeed a CSS issue:

I did some -moz-user-select: -moz-none; to prevent doubleclick highlight issues on some of my components. And (of course) this would also affect the inputs. I excluded input elements now and everything works fine again.


2013/2/22 Jens <jens.nehlmeier@gmail.com>
Are you doing any crazy things in your app? :-)

Have you used Event.addNativePreviewHandler() somewhere and the handler maybe busts certain mouse events? Or overwritten any onBrowserEvent() methods somewhere in your outer App UI?

Couldn't think of anything else that forbids you to select text on any textbox available in your app. My best guess is that you have canceled certain native events by mistake.

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

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

No comments:

Post a Comment