forked from facebook/react-native
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LayoutAnimations: don't animate root ShadowNode mutations
Summary: Root nodes doesn't have a ComponentDescriptor that can be looked up via this mechanism, and we probably shouldn't be animating Root nodes anyway (?). This is a debug-only assert but could be causing issues in production. The fix is simple - just don't animate any changes to a root node. Changelog: [Internal] Reviewed By: Nick177 Differential Revision: D28856396 fbshipit-source-id: 43fa0aa723b03b031fee22e0563eb63cc86239b3
- Loading branch information
1 parent
91f8c42
commit 1557781
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters