[gwt-contrib] Re: Adds a mobile-friendly drag-scroll implementation. (issue530801)

2010-05-18 Thread Joel Webber
We should definitely consider how we're going to bring gesture/touch events into the existing event framework. I went ahead and wrote this the simple way because it will only ever need to work on mobile webkit browsers, which all safely support addEventListener() and don't leak memory. Le 14 mai 2

[gwt-contrib] Re: Adds a mobile-friendly drag-scroll implementation. (issue530801)

2010-05-14 Thread cromwellian
Joel, I think post I/O perhaps we should add touch events support to dispatchEvent() rather than call addEventListener directly, so you'd be able to invoke sinkEvents(Event.TOUCH_EVENTS);. I did this for my apps and have working code. http://gwt-code-reviews.appspot.com/530801/diff/1/9 File /b