react-native-macos/Libraries/ART
Tim Yung d756d94b3a RN: Workaround for ReactNativeART on Android
Summary:
Brings back the fix for `overflow: hidden` on Android by implementing a workaround for a bug with `ReactNativeART`.

The ReactNativeART bug is that changes in the canvas due to a resize of the `Surface` are not properly reflected on Android. I have verified that the correct props are being computed and passed to the shadow nodes and that the `ARTSurfaceView`'s canvas is indeed updated. But for some reason, the paint is not updated.

This workaround is to simply unmount and remount `Surface` on Android. It sucks and we should eventually fix it.

Reviewed By: achen1

Differential Revision: D8818010

fbshipit-source-id: 71d1927580b6bde7263fd241797d4655140b5f34
2018-07-12 08:02:16 -07:00
..
ART.xcodeproj Update Xcode projects (#19574) 2018-06-19 23:48:12 -07:00
Brushes Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ViewManagers Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTCGFloatArray.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTContainer.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTGroup.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTGroup.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTNode.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTNode.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTRenderable.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTRenderable.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTSerializablePath.js Prettier React Native Libraries 2018-05-10 19:10:38 -07:00
ARTShape.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTShape.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTSurfaceView.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTSurfaceView.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTText.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTText.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ARTTextFrame.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert+ART.h Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert+ART.m Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ReactNativeART.js RN: Workaround for ReactNativeART on Android 2018-07-12 08:02:16 -07:00