Deltatime sometimes 0 in Firefox

We are currently facing a problem where the deltatime sometimes is 0, which only happens in Firefox. It also seems to be related with HTML UI User Interaction.

Our setup is the following:
HTML UI rendered on top of playcanvas application.
HTML UI contains buttons, which instructs our orbit camera to fly to different targets
When user clicks a button, sometimes the deltatime in update method is 0

Has this ever come up before? There should be no way for dt to ever be 0 right?

The very first frame in the engine has dt of zero. If you are using dt, you need to place a guard against it.

It also happens after the initial frame. Sorry should have specified this.

Hmm, that I have not heard of before. Can’t really think of a case, when it can be zero. Pretty sure it can never be after the initial frame.