forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw soft-error and continue when removing view from parent with inc…
…orrect index Summary: iOS Fabric actually ignores the `index` property and just uses parent and child tags to remove the child from a parent. This brings Android slightly closer to iOS: we try to use the index, but if the index is incorrect, we either (1) throw if the child isn't contained in the parent, or (2) find the correct index, and continue. In debug, this will still crash, so we'll get more signal about why this happens. Changelog: [Internal] Reviewed By: shergin Differential Revision: D24056375 fbshipit-source-id: 07507cc32ad02505d3271fc95ecb45d080109078
- Loading branch information
1 parent
3b6b039
commit a78a716
Showing
1 changed file
with
32 additions
and
13 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