-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to remove a view index above child count #28905
Comments
I am also facing the same issue. It only fails in production mode. Error: com.facebook.react.uimanager.IllegalViewOperationException · Trying to remove a view index above child count 0 view tag: 275 detail: View tag:275 children(0): [ ], indicesToRemove(1): [ 0, ], tagsToDelete(1): [ 677, ]. |
your post are unreadable. Format and add information, I'll read them again. |
|
@fabriziobertoglio1987 Please find the below whole error details : com.facebook.react.uimanager.IllegalViewOperationException · Trying to remove a view index above child count 0 view tag: 3005 detail: View tag:3005 children(0): [ ], indicesToRemove(1): [ 0, ], tagsToDelete(1): [ 3165, ] NativeViewHierarchyManager.java:434com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren |
I also got this error in version 0.63.1. There is a solution? |
@sonam1409 to fix runtime errors in react-native sourcecode we need:
Thanks |
|
|
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
I observe this issue in my project using RN 0.63.2
|
Also seeing this on RN 0.64.1, only in the release build. It is not deterministic as far as I can tell. I'm not sure it's possible to make a minimal reproduction of this issue since there doesn't appear to be a clear case in which it arises. It appears random and only in release builds on user's devices which makes it significantly harder to analyze. Somebody familiar with the native Android code having a look at possible situations where this could arise would likely be the best way to start figuring out a resolution for this. |
Hit that issue as well. Any update on that? Or workaround? |
I have found a workaround that worked for me
…On Fri, 9 Jul 2021, 11:21 pm Sasha Kuchaiev, ***@***.***> wrote:
Hit that issue as well. Any update on that? Or workaround?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#28905 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASLNXNV3SCCCNEWMK7TDJ7LTW44Z3ANCNFSM4NBVTH6A>
.
|
How? |
So basically in my scenario it was crashing on map and I solved it by
giving the Key prop to it
On Sat, 10 Jul 2021, 12:55 am Sasha Kuchaiev, ***@***.***>
wrote:
… I have found a workaround that worked for me
… <#m_878680268158964415_>
On Fri, 9 Jul 2021, 11:21 pm Sasha Kuchaiev, *@*.***> wrote: Hit that
issue as well. Any update on that? Or workaround? — You are receiving this
because you commented. Reply to this email directly, view it on GitHub <#28905
(comment)
<#28905 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLNXNV3SCCCNEWMK7TDJ7LTW44Z3ANCNFSM4NBVTH6A
.
How?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#28905 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASLNXNTCUF3LCL2EOXPVTXTTW5H2VANCNFSM4NBVTH6A>
.
|
giving key to the flatlist component |
Giving key doesn't work too
|
If you are using ListFooterComponent or ListHeaderComponent don't render a false value (null, undefined, ...etc) , for that case, returns a Fragment (<></>) This resolved my problem. Example |
In my case, adding the style |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
This issue was closed because the author hasn't provided the requested feedback after 7 days. |
Hello, I am facing the Issue "trying to remove a view index above child count" on version
"react-native": "0.62.2"
It only fails in production mode that too only on Android devices. And yes I am not Using onLayoutAnimations anywhere in the application
The Error details can be found here:
com.facebook.react.uimanager.IllegalViewOperationException: Trying to remove a view index above child count 3 view tag: 2609
detail: View tag:2609
children(2): [
2593,2597,
],
indicesToRemove(1): [
3,
],
tagsToDelete(1): [
2607,
]
The text was updated successfully, but these errors were encountered: