I had a lot of problems with touch events. However, they weren't GWT's
fault, just different browsers doing different things.
I ended up with this:
// Listen for the screen touch start
mainPanel.addDomHandler(event -> {
handleScreenTouches(event.getChangedTouches(), true);
},
When I looked at this 6 years ago (in relation to MGWT, which is dead
although we still use it in legacy products) Pointer events were the way to
go and are supported on all browsers now as far as I am aware.
There was talk of a single touch/pointer API system in GWT similar to what
MGWT did
Maybe you can Google for : JS surface touch events
Or something like that. But for JS. Maybe that can point you in the right
direction.
Op maandag 27 juli 2020 om 22:02:20 UTC+2 schreef m.conr...@gmail.com:
> you will need to check and see what event is actually generated for the
> windows 10
you will need to check and see what event is actually generated for the
windows 10 tablet in the dom and hook those.
On Mon, Jul 27, 2020 at 2:52 PM Andy Langer wrote:
> Hi all. Currently working on a webapp using GWT. I currently have a
> feature working with touch events on a Canvas. The
Hi all. Currently working on a webapp using GWT. I currently have a feature
working with touch events on a Canvas. The feature itself works perfectly
fine on every device but windows tablets (surface pro). Is there something
special I have to do for this, or does GWT have no way of doing this?