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

Ghost image after switch app on mobile phone #411

Open HenryYangs opened 1 year ago

HenryYangs commented 1 year ago

Reproduce path:

  1. Open https://davidfig.github.io/pixi-viewport/ in safari on an iPhone
  2. Back to home or any other app after page loaded
  3. Back to safari and drag pixi-viewport, we can see two scenes

wecom-temp-342115-1254cfcc9914d2465e01bfde128f3948

we reproduce this bug on most mainstream ios version, like 13.6.1, 14, 15, 16.x, etc; but never reproduce on android devices

iyang519 commented 1 year ago

+1,

zhangxiang910 commented 1 year ago
XuHanpeace commented 1 year ago

+1

bingozhang commented 1 year ago

+1 52dd86e6a2c5ad1a37e5a119ad2df033

bingozhang commented 1 year ago

btw, Only in my iPhone or iPad

bingozhang commented 1 year ago

@davidfig

davidfig commented 1 year ago

Is anyone seeing this in their apps? This is likely a bug in the teardown of the demo app after pausing and resuming. I don't think it's specific to pixi-viewport, as pixi-viewport doesn't instantiate anything.