question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AlphaFilter tanks performance in Safari on iOS 15

See original GitHub issue

We’re building a digital whiteboard. We’ve been working on a pencil tool and we’d like to allow different opacities for the strokes. We were using an AlphaFilter to set the alpha so that we don’t get overlapping shapes from the stroke. This works well on most devices, but there is a severe performance impact on iOS 15. Things feel great on iOS 14.

Expected Behavior

You should be able to pan both documents around smoothly on iOS 15.

Current Behavior

The document with alpha has a lot of jank on iOS 15 devices.

Steps to Reproduce

Try panning by click dragging the documents.

Environment

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
eXponentacommented, Oct 18, 2021

WebKit has degradation on large framebuffers Because pixi create POT textures that by default can be a larger that screen size, this can affect. Than we know that iOS/MacOS devices use retina displays with resolution 2/3/3.5 that already produce huge renderable area (in pixels). https://bugs.webkit.org/show_bug.cgi?id=230973

0reactions
sbesh91commented, Mar 16, 2022

I’m reasonably certain that I’ve run into this bug today with the launch of Safari 15.4. Safari and all iOS devices are unusable with an AlphaFilter in my use case. I’ve got two graphics inside of one container. The container has an AlphaFilter on it to allow me to simulate a fog of war effect where the vision of a game piece is automatically updated when they are moved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IOS 15 Safari fails with Fairplay DRM playback
Hi, IOS 15 Safari does not support Fairplay DRM and gives an error, other browsers like Chrome also do not work. Since IOS...
Read more >
Safari 15 Release Notes | Apple Developer Documentation
Update your web content to use new features and test your web content against API changes. Overview. Safari 15 ships with iOS and...
Read more >
Safari Technology Preview Release Notes
Experience and test the HTML, CSS, JavaScript, and other web technologies that are available in Safari 15 Beta and included in previous Safari...
Read more >
Clear your cache in Safari on iPhone
In the Safari app , you can erase your browsing history and data to clear the cache on your iPhone. This removes the...
Read more >
If Safari isn't loading websites or quits on your iPhone, iPad ...
If you can't load a website or webpage, or Safari quits ... You can clear website data occasionally to improve Safari performance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found