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

TypeError: o.toFixed is not a function #367

Closed
JanithaR opened this issue Jul 11, 2019 · 2 comments
Closed

TypeError: o.toFixed is not a function #367

JanithaR opened this issue Jul 11, 2019 · 2 comments

Comments

@JanithaR
Copy link

I know this is very similar to Console thrown a lot of errors when I use React Inspector on Android but my react-devtools-core version is 3.6.0

The error happens exactly the same way as show in this issue #84 (comment)
I try to inspect elements and errors are thrown.

React Native Debugger app version: 0.9.10
React Native version: 0.55.3
Platform: iOS
Is real device of platform: No
Operating System: macOS

Screen Shot 2019-07-11 at 11 33 52 AM

@JanithaR
Copy link
Author

Figured out the problem. It's this styling,

container: {
        height: 60,
        paddingLeft: '5%',
        paddingTop: 10,
        paddingRight: '5%',
        paddingBottom: 10,
        flex: 1,
        justifyContent: 'center'
    }

Commenting out paddingLeft: '5%', and paddingRight: '5%', does not cause any errors.

@jhen0409
Copy link
Owner

jhen0409 commented Aug 2, 2019

It should be report into facebook/react-devtools.

Also, It may have been fixed in #371, if you are interested in, you can follow #371 (comment) to try.

@jhen0409 jhen0409 closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants