question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The specified child already has a parent. You must call removeView() on the child's parent first

See original GitHub issue

Description

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

https://user-images.githubusercontent.com/36044436/138827609-626b0138-d80d-4cd5-875b-30873fcafe1a.mov

Steps To Reproduce

  1. 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

https://user-images.githubusercontent.com/36044436/139391959-624f17ea-78cc-482a-8bcd-88c2cbe3b243.mp4

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:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kacperkapusciakcommented, Oct 26, 2021

@nomi9995 yes, a self-contained snippet of code (with imports, etc) is absolutely enough

Thanks

0reactions
numandev1commented, Oct 29, 2021

@kacperkapusciak now react-native-reanimated v2.2.4 has released and it is working well with this version. thanks

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found