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

[iOS]: Time out waiting for modules to be invalidated! #15941

Closed
ohflying opened this issue Sep 14, 2017 · 12 comments
Closed

[iOS]: Time out waiting for modules to be invalidated! #15941

ohflying opened this issue Sep 14, 2017 · 12 comments
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@ohflying
Copy link

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native -v: 0.48.3
  2. node -v: v6.8.1
  3. npm -v: 3.10.8
  4. yarn --version:

Then, specify:

  • Target Platform: iOS
  • Development Operating System: macOS 10.12.4
  • Build tools: Xcode

Steps to Reproduce

(Write your steps here:)

  1. create a component, like this
class Root extends React.Component {
    render() {
        return (
            <View style={{display: 'none'}}>
                <Text>这是一个测试!</Text>
            </View>
        );
    }
}

If the '<Text>' contains any Chinese characters, an exception is thrown.

Expected Behavior

Actual Behavior

(Write what happened. Add screenshots!)
image

@sumedhaverma
Copy link

I am also facing the same issue. Are you able to solve it?
Please let me know here.

@447491480
Copy link

{display: 'none'} cause this bug

@gibson
Copy link

gibson commented Oct 4, 2017

I dont use display: 'none' and has this problem

@moughxyz
Copy link

moughxyz commented Oct 4, 2017

In my case the issue was using react-native-vector-icons, then display a component that has an icon and then removing the component from display really quickly.

i.e

<Icon name={"icon"} size={25} color={color} />

Seems like it might be a memory access issue where where the component is loaded, the icon begins loading, the component is removed, the icon finishes loading, and that error occurs. That's just my theory.

@silentmaker
Copy link

I am having the same problem. It just happened, still don't know what caused it or how to solve it.
Restart everything can only make things right once, after one reload all components disappear.

Really hope that someone can tell me what cause this and how to solve it.

@edwardlai3582
Copy link

edwardlai3582 commented Oct 15, 2017

I am also facing the same issue. It happens when the Keyboard is hidden and the orientation is in landscape mode.

@messense
Copy link

messense commented Oct 16, 2017

Same issue here, I am also using react-native-vector-icons. Maybe @oblador can help us here?

Edit: I am not using any display: none style.

@messense
Copy link

messense commented Oct 24, 2017

Added some NSLog and found that it's UIManager invalidate timed out.

@laurent22
Copy link

@javache, it seems this bug (or at least the error message) was introduced in this commit: 7b77055

@stale
Copy link

stale bot commented Jan 15, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 15, 2018
@stale stale bot closed this as completed Jan 22, 2018
@Mubashirkhan
Copy link

was anyone able to fix this issue i'm facing the same issue on iOS everything works fine on android

@kamelj
Copy link

kamelj commented Dec 10, 2018

Remove letterSpacing if you use it on styles for non English it's will solved the issue,
It's work for me =)

@facebook facebook locked as resolved and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests