Please sign in to comment.
Native Animated: Prevent views driven by native animated from being o…
…ptimized away Summary: When using native animated we don't go through the shadow thread and use the NativeViewHierachyOptimizer so we have to make sure the views won't get optimized away. Also since we are not passing certain props because they are driven by native it is possible that the view will be marked as layout only when in fact it is not. **Test plan** Animated a simple view that will be collapsed with native animated and reproduce the error (it's actually just an error log in logcat now and no longer a redscreen) and checked that this fixes it. Fixes #12975 Closes #12983 Differential Revision: D4811420 Pulled By: javache fbshipit-source-id: f217f244baca64df2b76cbe08cce2d847c0dc985
- Loading branch information...
Showing with 7 additions and 1 deletion.