Web Standalone - MouseUp Works/MouseMove does not

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JereMiami
Posts: 127
Joined: Mon Nov 03, 2014 12:17 am

Web Standalone - MouseUp Works/MouseMove does not

Post by JereMiami » Fri Mar 14, 2025 2:03 am

I had an earlier post about the signature widget not working on a web standalone. But I do not think it's the widget that is the problem. It appears mouseDown is sent when the user first places their finger to the screen (the widget also places a small dot in the appropriate mouseLoc). Yet when the finger is moved, mouseMove is either not sent or it is cut off abruptly after a distance of a single pixel (the widget nor any object or the card itself is receiving the mouseMove appropriately).

Is there something I am missing here? What message is being sent to track the user's finger if mouseMove/touchMove is not being sent?

wholesalebuffa
Posts: 1
Joined: Thu Jul 10, 2025 8:41 am
Contact:

Re: Web Standalone - MouseUp Works/MouseMove does not

Post by wholesalebuffa » Thu Jul 10, 2025 9:02 am

When adding touchmove and touchstart: event listeners, you need to explicitly set passive: false. Make sure your event listener is attached correctly to the widget element itself. If the widget is a canvas, the listener must be on the canvas. Also, check if any parent element accidentally calls stopPropagation, which will prevent the event from bubbling up to the widget.

Post Reply