Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #102822

    I am using a smart grid with an event listener added for the ‘rowClick’ event to open a smart-window with additional details on that row.  This is working great on desktop browsers with a mouse. However on mobile devices the swipe gesture intending to scroll the grid is also firing this event.

    Is there a way I can detect and filter out these unintentional clicks?

    I see in the API docs that there is access to the detail.originalEvent object, and am thinking that there may be a way to detect swipes from clicks, but am not sure what I am looking for.  Or perhaps a way to listen for mouseUp instead of the down event, and then maybe add a timer between the two to check if it is a swipe vs a click?



    Hi MarkM,

    You can probably use ‘rowTap’ instead in this case.

    Best regards,
    Peter Stoev

    Smart UI Team

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.