The specified child already has a parent. You must call removeView() on the child's parent first
See original GitHub issueDescription
when I try to log in with google, expo-web-browser
open the browser, after successfully login, the web browser close, and this error occur
The specified child already has a parent. You must call removeView() on the child's parent first
Screenshots
Steps To Reproduce
- description detail will reproduce this issue
Expected behavior
when browser close, this error should not b occur
Actual behavior
when I try to log in with google, expo-web-browser
open the browser, after successfully login, the web browser close, and this error occur
Reproduction
https://github.com/nomi9995/RemoveViewRepro
when I press Goback button in the header of the modal, then this error is happening
Platform
- iOS
- Android
- Web
- Windows
- tvOS
Workflow
- Managed workflow
- Bare workflow
Package versions
package | version |
---|---|
react-native | 0.66.1 |
@react-navigation/native | 6.0.6 |
@react-navigation/native-stack | 6.2.5 |
react-native-screens | 3.8.0 |
react-native-safe-area-context | 3.3.2 |
react-native-gesture-handler | 1.10.3 |
react-native-reanimated | 2.3.0-alpha.3 |
expo | n/a |
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
java - The specified child already has a parent. You must call ...
The specified child already has a parent. You must call removeView() on the child's parent first (Android) · 2. Just for someone who...
Read more >The specified child already has a parent You must call ...
IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
Read more >1354973 - Crash in java.lang.IllegalStateException
IllegalStateException: The specified child already has a parent. You must call removeView() on the child''s parent first. at android.view.ViewGroup.
Read more >The specified child already has a parent ERROR - CodeProject
Java.Lang.IllegalStateException: 'The specified child already has a parent. You must call removeView() on the child's parent first.'
Read more >[Bug] ListView with grouping and SwipeView throws ... - GitHub
The specified child already has a parent. You must call removeView() on the child's parent first. Basic Information. Version with issue: 5.0.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@nomi9995 yes, a self-contained snippet of code (with imports, etc) is absolutely enough
Thanks
@kacperkapusciak now
react-native-reanimated
v2.2.4
has released and it is working well with this version. thanks