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

Dialog is not retaining to it's older position, after zoom-in and zoom-out, #908

Open
Pandeyswastik23 opened this issue Jun 5, 2023 · 0 comments

Comments

@Pandeyswastik23
Copy link

Pandeyswastik23 commented Jun 5, 2023

Overview of the problem

I'm using react-rnd version [10.2.3]

My browser is: Chrome

I am sure this issue is not a duplicate?

Reproduced project

https://codesandbox.io/s/xpm699v4lp?file=/src/app.js

Description

After increasing the screen size to 300%, and then after zoom out the dialog or popup is not retaining it older position. I am passing below props:

Steps to Reproduce

  1. Wrap a dialog inside Rnd, and pass these props:
    enableResizing={false} // Add enableResizing prop
    disableDragging={true} // Add disableDragging prop

Expected behavior

Dialog should not sticked to its position and should retain its old position after zoom out

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