DEV-ios icon indicating copy to clipboard operation
DEV-ios copied to clipboard

Smart invert not consistent

Open jessleenyc opened this issue 6 years ago • 4 comments

Describe the bug Submitted by a test user: Smart invert is inverting photos (i.e. profile, cover images)

To Reproduce Steps to reproduce the behavior:

  1. Go to general -> accessibility -> display accommodations -> smart invert

Expected behavior I believe photos shouldn't get inverted at all? Or the opposite? Regardless, some are getting inverted and some are not.

Screenshots image

jessleenyc avatar Oct 29 '18 22:10 jessleenyc

I don't think there's anything we can do to change this as it's Apple trying to be "smart" :)

AFAIK, all we can do is apply accessibilityIgnoresInvertColors = true where we don't want views/imageviews to be inverted

Ceri-anne avatar Nov 03 '18 15:11 Ceri-anne

I don't think there's anything we can do to change this as it's Apple trying to be "smart" :)

AFAIK, all we can do is apply accessibilityIgnoresInvertColors = true where we don't want views/imageviews to be inverted

This is right also is needed to add a CSS to the images or other media @media (inverted-colors) { img, video { filter: invert(100); } }

StriderHND avatar Feb 01 '19 20:02 StriderHND

I've found a way to inject the CSS via App side when is detecting the smart invert. I should be uploading a PR soon

StriderHND avatar Feb 04 '19 16:02 StriderHND

Should this issue be closed as there was a PR made and it was merged?

larson-carter avatar Dec 09 '20 02:12 larson-carter