You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a production app where we have a pinch gesture handler that allows pinch zooming on a map. When the map is zoomed in (scaled up) the child POIs are scaled down to preserve sizing of POIs. Example, if the parent View is scaled by 100 the child POI View is then scaled by 0.01 to counteract the transform and preserve sizing. This works perfectly on Android; however, IOS results in a very pixelated render of the child POI View. It appears on IOS, when a View has nested scale transforms applied such that they are inverse the resulting render is pixelated. On Android the View appears high resolution as expected. (See screenshots below).
Based on the output of npx react-native info, it seems you’re currently using the old architecture (newArchEnabled: false). Would it be possible for you to check if this issue occurs on the new architecture as well?
Description
We have a production app where we have a pinch gesture handler that allows pinch zooming on a map. When the map is zoomed in (scaled up) the child POIs are scaled down to preserve sizing of POIs. Example, if the parent View is scaled by 100 the child POI View is then scaled by 0.01 to counteract the transform and preserve sizing. This works perfectly on Android; however, IOS results in a very pixelated render of the child POI View. It appears on IOS, when a View has nested scale transforms applied such that they are inverse the resulting render is pixelated. On Android the View appears high resolution as expected. (See screenshots below).
See main code in
app/{tabs}/index.jsx
of repro.Related:
#42837
Steps to reproduce
Both Architectures: Paper & Fabric
IOS
npm install
andnpx pod-install
npx react-native run-ios
ornpm start
and open on ios expoANDROID
npm install
npx react-native run-android
React Native Version
0.76.6
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/wen-kai/expo-sandbox/tree/scale-bug
Screenshots and Videos
Actual (IOS):
Expected (Android):
The text was updated successfully, but these errors were encountered: