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

Getting element.getBoundingClientRect is not a function error, while doing Click and Drag in my Physical machine. #64

Open
rajath002 opened this issue Jun 26, 2022 · 0 comments

Comments

@rajath002
Copy link

rajath002 commented Jun 26, 2022

Getting element.getBoundingClientRect is not a function error while doing Click and Drag in my Physical machine.

This error I'm not getting in my Code Sandbox

I have installed React 16.13.1 and React-Dom 16.13.1

What is the root cause for the issue, and how to resolve it?

muuri.module.js:1324 Uncaught TypeError: element.getBoundingClientRect is not a function
    at getContentRect (muuri.module.js:1324:1)
    at push../node_modules/muuri/dist/muuri.module.js.AutoScroller._checkItemOverlap (muuri.module.js:1877:1)
    at push../node_modules/muuri/dist/muuri.module.js.AutoScroller._updateRequests (muuri.module.js:2127:1)
    at push../node_modules/muuri/dist/muuri.module.js.AutoScroller._readTick (muuri.module.js:1710:1)
    at push../node_modules/muuri/dist/muuri.module.js.Ticker._step (muuri.module.js:1035:1)

image

Previously I had React 17 version displaying a blank screen when I added the Muuri component! so I have downgraded it, then it worked!

@rajath002 rajath002 changed the title Getting element.getBoundingClientRect is not a function error, while doing Click and Drag in my Physical machine. This error I'm not getting in my Code Sandbox Getting element.getBoundingClientRect is not a function error, while doing Click and Drag in my Physical machine. Jun 26, 2022
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