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

Version 3.22 Invalid target option given to Dashboard:StatusBar. #4947

Closed
2 tasks done
mjau-mjau opened this issue Feb 22, 2024 · 6 comments
Closed
2 tasks done

Version 3.22 Invalid target option given to Dashboard:StatusBar. #4947

mjau-mjau opened this issue Feb 22, 2024 · 6 comments
Labels

Comments

@mjau-mjau
Copy link

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

https://codepen.io/mjau-mjau/pen/eYXaEWm

Steps to reproduce

Basic setup with 3.22.1, returns error UIPlugin.ts:152 Uncaught Error: Invalid target option given to Dashboard:StatusBar.If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)

Expected behavior

If running the same code in version 3.21.0, it works fine:
https://codepen.io/mjau-mjau/pen/yLwWobm

Actual behavior

It should work with basic minimal code, like previous version 3.21.0. Or am I missing something?

@mjau-mjau mjau-mjau added the Bug label Feb 22, 2024
@Murderlon
Copy link
Member

I can reproduce too. Taking a look.

@Murderlon
Copy link
Member

Fixed in #4950

@davidjr82
Copy link

@Murderlon After fixing this error, the same error appears but with Informer:

Error: Invalid target option given to Dashboard:Informer

@Murderlon
Copy link
Member

Do you have a reproducible example? Here is the latest CDN version and dragging in a file shows informer working.

https://codesandbox.io/p/sandbox/goofy-sammet-4pzm28?file=%2Findex.html%3A18%2C75

@davidjr82
Copy link

hi @Murderlon , I don't have a reproducible example, it just happened to me after updating (before I had the StatusBar issue that opened this message). But if it is working in the sandbox, probably it is something of my setup.

Thanks.

@Murderlon
Copy link
Member

If it keeps happening, try to create a reproducible example so we can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants