CSS transform() confuses excalibur pointers
eonarheim opened this issue · comments
Erik Onarheim commented
Steps to Reproduce
Absolutely position and apply a css transform the canvas hosting the game
See example repo jyoung4242/ExcaliburDemo@2be1a12
Expected Result
Pointer events should work
Actual Result
Coordinate miss match and events do not work
Environment
- browsers and versions: NA
- operating system: Windows 11
- Excalibur versions: Latest main
Current Workaround
Use flex box or other CSS techniques other than transform() to position
Erik Onarheim commented
Fixed in 80c960b