You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Douglas Rhiner


  • "Douglas Rhiner" started this thread

Posts: 137

Location: San Anselmo, CA

Occupation: Code-Slave

  • Send private message


Thursday, February 10th 2022, 8:03pm

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.


Thursday, February 10th 2022, 9:34pm


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,