I’m pretty new to babylonjs and i’ve stumbled to problem. My mouse actions have offset to scene coordinates. eg i’m trying to move mesh with gizmos and mouseover does not light up that arrow, if i move mouse slightly to the tight i can get it working. If i resize window i get correct behavior.
Does this ring any bells and is there solution?
Thanks in advance.
Hello and welcome!!
Do you mind creating a repro of your issue?
I dont’t think this is a bug, maybe i’m doing something wrong , playground example is impossible to create on code i have. I was just hoping someone had same issue?
This is complex without a repro
I’ve managed to get a workaround by resetting canvas width/height on component mount, guess it is some problem with parent react components