mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b628d4f5d5
Summary: Changelog: [Internal] - Fix the frame issue for truncated text. When double tapping to expand/truncate the text, the rect of the element always moves to the top and then come back to the original place.. This seems because after truncating/expanding the text, the view would re-render and the container would be destroyed. I used the API accessibilityFrameInContainerSpace to set the frame before. And the frame was not updated properly. Converting the bound to the screen coordinates and set accessibilityFrame directly fixed it. Reviewed By: PeteTheHeat Differential Revision: D23040295 fbshipit-source-id: 1b449c39c79007d5321ff7b565c170f6d3fab8a4