davidfig / pixi-viewport

A highly configurable viewport/2D camera designed to work with pixi.js
https://davidfig.github.io/pixi-viewport/
MIT License
1.04k stars 174 forks source link

Internet Explorer 11 shows blank canvas #192

Open Iwitrag opened 4 years ago

Iwitrag commented 4 years ago

I have simple shapes on canvas using PixiJS 5.2.0. It works flawlessly in IE11. I have tried adding viewport (4.5.0) support for it and now IE11 shows white blank canvas instead.

I have downloaded both libraries directly and referenced them like this:

<script src="pixi.min.js"></script>
<script src="pixi-viewport.js"></script>

Did I something wrong?

EDIT: I have tried https://davidfig.github.io/pixi-viewport/ in IE 11 and it doesn't work either.

davidfig commented 4 years ago

It's likely an IE11 issue. I've not tested it against IE11. There's likely a needed polyfill somewhere. Happy to take a PR if you can track it down.