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

Positioning and Resizing does not work as intended in production mode #2005

Open
shahiutsav opened this issue Jan 5, 2024 · 2 comments
Open

Comments

@shahiutsav
Copy link

Describe the bug

I would have given a code snippet, but I don't know what part is causing this specific issue. It works how it's supposed to or intended in the development build, but after I've built it for production, everything falls apart as shown in the given gif. I tried looking at the examples provided in this repository, and I found a similar problem happening with my code in https://react-grid-layout.github.io/react-grid-layout/examples/8-localstorage-responsive.html . The width, height, or the positions don't get saved in local storage either.

Your Example Website or App

https://react-grid-layout.github.io/react-grid-layout/examples/8-localstorage-responsive.html

Steps to Reproduce the Bug or Issue

  1. Go to https://react-grid-layout.github.io/react-grid-layout/examples/8-localstorage-responsive.html
  2. Try resizing, dragging the containers
  3. Know it cannot be done

Expected behavior

As a user, I expect the container to be resized, when I resize it. I also expect it to be placed where I've dragged it

react-grid-layout library version

1.4.4

Operating System Version

Ubuntu

Browser

Chrome

Additional context

The package works as intended in the development build but not in the production build.

Screenshots or Videos

RGL-Example-8---Responsive-with-LocalStorage

@jun-regcentric
Copy link

I am also facing this issue and seems like the responsive layouts is not working.

image

@buraketmen
Copy link

Any update?

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

3 participants