requestAnimationFrame handler

  • Good day,

    Running into an issue where repeated, meaning multiple per second, [Violation] 'requestAnimationFrame' handler took <N>ms is/are being returned to the JS console.
    We are using KRPano v 1.20.11 ( build 2022-1-13)

    Here is a link for an example. .

    What could be causing this?
    Perhaps a callwhen(); that never is satisfied?
    Or are there any other elements of KRPano that could be causing this?

    What makes this difficult to track down is that there is no "trigger" being reported in the JS console.

    TIA for any advice.

  • Hi,

    that site is getting slower and slower the longer it runs...
    And as it seams this is caused by some bad scripting...
    Adding new callwhens every frame might be such of course.

    Either check your code or try typically debugging stuff - e.g. start with excluding part for part and see what makes a difference.

    Best regards,

Participate now!

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