I have since updated the FastPressElement to fix some issues pointed out by mark. I have also cleaned up some things. All the code is on Github. Feedback from people needing this solution would be awesome.
I believe this will work very well in the situations that call for it. (It's a huge difference once you start using it) https://github.com/ashtonthomas/gwt-fast-touch-press http://gwt-fast-touch-press.appspot.com/ - Ashton On Tuesday, December 18, 2012 9:17:01 AM UTC-5, Ashton Thomas wrote: > > The PressEvent should only fire if the touchEnd happens over the element. > If I understand correctly, the event should not fire if you scroll or > somehow move your finger off the target. > > However, there may be a situation on browsers with the elastic scroll > where you try to scroll but there is no content so the browser shows the > stretch/elastic animation - so physically your finger is off of the button > but the browser still registers the touchEnd as over the element. This > should fire a pressEvent. > > I haven't looked into what happens in this situation. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/yQrbP1Pcq0oJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.