Skip to content
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

[Bug/Warning] Could not locate shadow view with tag #3050, this is probably caused by a temporary inconsistency between native views and shadow views #2595

Closed
kesha-antonov opened this issue Nov 5, 2017 · 8 comments

Comments

@kesha-antonov
Copy link
Contributor

Hello!

I have this setup:

<Stack>
  <Scene key='signIn' ... />
  <Tabs key='tabbar' ...>
    <Scene ... >
      <Scene ... />
    </Scene>
    ...
</Stack>

In signIn scene after log in I call Actions.tabbar({ type: ActionConst.RESET }) and after reset scenes I have these warnings.

Version

Tell us which versions you are using:

  • react-native-router-flux v4.0.0-beta-22 (master)
  • react-native v0.50-rc

Expected behaviour

Gives warninings.

Actual behaviour

No warninings.

screen shot 2017-11-05 at 11 24 47

@kesha-antonov
Copy link
Contributor Author

@aksonov Ok. thanks!

BTW If i don't use type: ActionConst.RESET then I have 2 scenes in routes instead of 1. And no warnings

@aksonov
Copy link
Owner

aksonov commented Nov 5, 2017 via email

@kesha-antonov
Copy link
Contributor Author

Please see #2531

I've updated info

@aksonov
Copy link
Owner

aksonov commented Jan 4, 2018

Closed because it is not related to RNRF.

@aksonov aksonov closed this as completed Jan 4, 2018
@valery-lavrik
Copy link

faced with this problem.
I had a SafeAreaView inside another SafeAreaView, which caused this effect.

Maybe it will help someone

@jacobp100
Copy link

@valery-lavrik is this from the react-native-safe-area-context package? You should (in theory) be allowed to do that

@valery-lavrik
Copy link

@jacobp100 Yes, that's right

@jacobp100
Copy link

I’ve submitted a PR to the repo to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants