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

Unable to run mui-public with latest versions of Toolpad #2481

Closed
2 tasks done
apedroferreira opened this issue Aug 11, 2023 · 1 comment · Fixed by #2490
Closed
2 tasks done

Unable to run mui-public with latest versions of Toolpad #2481

apedroferreira opened this issue Aug 11, 2023 · 1 comment · Fixed by #2490
Labels
bug 🐛 Something doesn't work scope: toolpad-studio Abbreviated to "studio"

Comments

@apedroferreira
Copy link
Member

apedroferreira commented Aug 11, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Steps:

  1. Update @mui/toolpad in the package.json inside tools-public in the mui-public repository at https://github.com/mui/mui-public to 0.1.23, for example
  2. Run yarn install
  3. Run project with yarn dev
  4. Open the application and try to drag components on top of already existing page elements

Current behavior 😯

Unable to drag and drop components on top of already existing page elements.
If we attempt to resize an element the app crashes with Overlay grid ref not bound

Expected behavior 🤔

The actions above work correctly.

Context 🔦

I was trying to update tools-public but ran into this issue and cannot figure out how to fix it or why it happens yet... There are no useful errors in the terminal or in the browser console.
It doesn't necessarily seem to be related with the version of @mui/toolpad. Deleting the yarn.lock files and reinstalling package versions without changing any version in package.json still causes the issue.
It possibly has something to do with using external dependencies. If I get rid of all external dependencies, custom components and custom functions in the project it seems to work.

Your environment 🌎

Node 16-20, Mac

@apedroferreira apedroferreira added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Aug 11, 2023
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Sep 2, 2023
@oliviertassinari oliviertassinari added the scope: toolpad-studio Abbreviated to "studio" label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work scope: toolpad-studio Abbreviated to "studio"
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants