We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

get event property puzzle

Home Forums Bug Reports and Feature Requests get event property puzzle

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17733
    scalare
    Customer

    Hello Verge3D team!

    We’ve noticed something that may be a bug today. We were using the get_event_property puzzle to get the values of pageX and pageY and identify the exact location of a mouse click. That worked just fine, but we were monitoring mouseup event for that, and we discovered that it wasn’t working in the case of mobile, where we should be using touchstart and touchend instead.

    The problem is that when we tried it with touchend, the values for pageX and pageY return NaN, as if the puzzle wasn’t implemented for mobile. Is that the case, or is there a limitation with the mobile technology that does not provide those values? If it is not a limitation, any chance this could be solved in the near future? :)

    Thank you!

    #17738

    Yes, it works differently with touch events. See for example here. I agree that we should solve this in the future.

    Chief 3D Verger | LinkedIn | Twitter

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