pinch-in pinch-out does not work on Edge

  • thankyou klaus
    >What device do you use?
    For example,
    Microsoft Surface Laptop Lenovo Yoga 2 11
    Touch screen model.
    >And what browser and krpano version?
    Windows10 Home 1803(17134.345) Microsoft EdgeHTML 17.17134 krpano 1.19-pr16(build 2018-04-04)
    >Link to the example?
    krpano Examples https://krpano.com/tours/paris/


    I am creating a store application in C#.However, because the component of the Web view is an Edge, it does not work, so it's in trouble.
    I am happy if I know something.
    Thank you.

  • Hi,

    sorry, you're right - I have updated my Windows 10 touch test device now and with the latest update the touch-support wasn't working anymore.

    The reason is that the 'pointerEnabled' property has been removed in the latest MS Edge update. And krpano was using that for testing if the IE/Edge browser is supporting touch control.

    In the next krpano release this change will be included/respected.

    For a manual fix for the moment add the following line in the html file before calling the embedpano() function:

    Code
    navigator.pointerEnabled = navigator.maxTouchPoints > 0;
    embedpano(...);

    This 'restores' the missing pointerEnabled property.

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!