Uppy: No Statusbar when using React Dashboard

Created on 30 Jan 2018  路  4Comments  路  Source: transloadit/uppy

I'm using the react bindings for the Dashboard component. It mostly works great, but even with the showProgressDetails option supplied, no progress or status bars are showing up once an upload begins. Here is how I am instantiating the component:

<Dashboard uppy={this.uppy} showProgressDetails={true} maxHeight={300} />

Cheers

React

Most helpful comment

Hi! Could it be that you are missing uppy.run() as the finishing command in your .use() chain? So after this.uppy.use(Transloadit, ...) try adding this.uppy.run().

All 4 comments

Thanks for opening an issue! 鈥'm having trouble reproducing this, can you show how you are initialising this.uppy as well?

Sure!

  componentWillMount() {
    this.uppy = new Uppy({
      autoProceed: true,
      debug: true,
    )};
    this.uppy.use(Tus, { resume: false });
    this.uppy.use(Transloadit, {
      waitForEncoding: true,
      getAssemblyOptions(file) {
        return {
          params: {
            notify_url: '',
            wait: true,
            auth: { key },
            template_id: templateId,
          },
        };
      },
    });
  }

Also here is a gif of the behavior I'm seeing with the debug logs:

uppynostatus

Hi! Could it be that you are missing uppy.run() as the finishing command in your .use() chain? So after this.uppy.use(Transloadit, ...) try adding this.uppy.run().

That did the trick! My bad for missing that and thanks for the help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yaegor picture yaegor  路  3Comments

matthewhartstonge picture matthewhartstonge  路  3Comments

brandonccx picture brandonccx  路  4Comments

eltercero picture eltercero  路  4Comments

enneid picture enneid  路  4Comments