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

Rnd Window position changes when published to Vercel #919

Open
VoffieDev opened this issue Feb 5, 2024 · 0 comments
Open

Rnd Window position changes when published to Vercel #919

VoffieDev opened this issue Feb 5, 2024 · 0 comments

Comments

@VoffieDev
Copy link

Overview of the problem

I'm using react-rnd version [^10.4.1]

My browser is: chrome

I am sure this issue is not a duplicate? yes

Reproduced project

GitHub: https://github.com/voffiedev/portfolio
Vercel: https://portfolio-voffiedev.vercel.app

Description

I am currently creating my portfolio page which I want to make it look like an actual desktop. I am using react-rnd to be able to move the "windows" within a headlessui modal. It works as I expect within my development environment, but for some reason whenever I host the project on Vercel something breaks. Both the modals shows up in the bottom right of the page even tho I haven't changed anything, even the browser is the same between the two versions.

Expected behavior

The AboutModal and the ProjectModal should be positioned in the middle of the page

Actual behavior

The position of both the AboutModal and the ProjectModal is not in the right place when uploaded to Vercel

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

1 participant