diff --git a/webfx-kit/webfx-kit-javafxgraphics-peers-gwt/src/main/java/dev/webfx/kit/mapper/peers/javafxgraphics/gwt/shared/HtmlSvgNodePeer.java b/webfx-kit/webfx-kit-javafxgraphics-peers-gwt/src/main/java/dev/webfx/kit/mapper/peers/javafxgraphics/gwt/shared/HtmlSvgNodePeer.java index 4c81d46e8..798a375d9 100644 --- a/webfx-kit/webfx-kit-javafxgraphics-peers-gwt/src/main/java/dev/webfx/kit/mapper/peers/javafxgraphics/gwt/shared/HtmlSvgNodePeer.java +++ b/webfx-kit/webfx-kit-javafxgraphics-peers-gwt/src/main/java/dev/webfx/kit/mapper/peers/javafxgraphics/gwt/shared/HtmlSvgNodePeer.java @@ -332,8 +332,10 @@ protected static boolean passHtmlTouchEventOnToFx(TouchEvent e, String type, jav !requestPdrExit /* primaryButtonDown must be false for a pdr exit, true otherwise */, false, false, false, false, false, null); ((Scene) fxTarget).impl_processMouseEvent(mouseEvent); // We return true (even if not consumed) to always prevent browsers built-in touch scrolling, unless if the - // target is a standard html tag that reacts to touch elements, such as or (ex: slider) - if (e.target instanceof HTMLAnchorElement || e.target instanceof HTMLInputElement) + // target is a standard html tag that reacts to touch elements, such as: + if (e.target instanceof HTMLAnchorElement // clickable link + || e.target instanceof HTMLInputElement // (ex: slider) + || e.target instanceof HTMLLabelElement) //