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

Warning: Failed prop type: Invalid prop style supplied to Camera. #3

Open
nicks78 opened this issue Dec 26, 2017 · 7 comments
Open

Comments

@nicks78
Copy link

nicks78 commented Dec 26, 2017

No description provided.

@crobinson42
Copy link

+1 buggy :-(

@trikem
Copy link

trikem commented Feb 27, 2018

Still buggy (((

@ghost
Copy link

ghost commented May 18, 2018

how to resolve?

@nicks78
Copy link
Author

nicks78 commented May 18, 2018

I decide to use other way to access phone camera
<input type="file" name="picture" accept="image/*" capture="environment" id={this.props.idCamera} style={{ display:'none' }} onChange={ (e) => this.handleChange(e) } />

Works well

@alighali85
Copy link

if you pass an style={{}} to the camera you can solve the issue

@alighali85
Copy link

@nicks78 when you use the native input to use the camera, what will be the file will it be a blob or normal image file? thanks

@nicks78
Copy link
Author

nicks78 commented Nov 24, 2018

@alighali85 , it's a normal file, but you can convert into whatever file type you prefer.

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