Window.onmousedown bug since Neon Coast

Describe the bug:
onmousedown and onmouseup only fire once in widgets (experienced in quick preview and preview on a new server). So as soon as I left click on a div with those events, it will call the onmousedown and onmouseup function once. Additional clicks will not do anything. The only workaround is to press left alt (so the console goes into advanced mode). While having the console in advanced mode, those two events will work as expected. After pressing left alt again to disable the advanced console, onmousedown and onmouseup will again only be able to fire one more time, but then not work anymore until the advanced console is triggered again.

How do you cause this bug?
Add a widget with an onmousedown event.
Go into preview and click multiple times on it.
It will only trigger on the first click.

Screenshots / video of bug:

  • soon
    To see it, just print console output inside an onmousedown function.

Which platform: PC

Which input: mouse

Your Crayta username:
Daigoro

Game seen in (including “Hub” or “Editor for XYZ”):
Every game/creation

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible):
Everytime

Hello Ya_shi_shi,

Thank you for reporting this issue to us.
I have submitted a ticket to our internal team. :blush: