I am using lib called Uppy inside redux forms, for some reason redux forms style conflict with Uppy lib and miss up the view .
simply the view show be like this
but the result like this
here is code sandbox link https://codesandbox.io/s/redux-form-material-ui-example-m7lhy
the relevant part in redux form
<Grid item>
<UppySample />
</Grid>
Uppy class
class UppySample extends React.Component {
constructor(props) {
super(props);
this.uppy = new Uppy({ id: "uppy1", autoProceed: false, debug: true }).use(
Tus,
{ endpoint: "https://master.tus.io/files/" }
);
}
componentWillUnmount() {
this.uppy.close();
}
render() {
return (
<React.Fragment>
<h2>Drag Drop Area</h2>
<Dashboard
uppy={this.uppy}
metaFields={[{ id: "name", name: "Name", placeholder: "File name" }]}
/>
</React.Fragment>
);
}
}
export default UppySample;
I need to disable redux style for uppySample class