Open EditedCocktail opened 2 years ago
I guess your button is using onClick event. instead click, try onPointerDown onPointerUp. I have same issue, onCLick wont trigger if a stick is active, but pointer events are working, btw, my ui component is based on react.
I have almost same issue in Angular. When holding joystick and click any other button joy stick loses focus and goes back to centre.
When joystick touched, touch events on other elements dont work.
To Reproduce
Smartphone