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

Infinite loop when using infinite viewer and moveable together. Browser becomes unresponsive. #871

Closed
zsoerenm opened this issue Mar 20, 2023 · 0 comments · Fixed by #873
Labels
bug Something isn't working lit

Comments

@zsoerenm
Copy link
Contributor

Environments

Description

When using infinite-viewer together with moveable there is an infinite loop which makes the browser unresponsive (see link above).
When clicking hold in the browser the DevTool in Firefox displays:

Script terminated by timeout at:
getElementTransform@https://lit-element-typescript-demo-vpuvyn.stackblitz.io/turbo_modules/react-compat-moveable@0.32.3/dist/moveable.cjs.js:889:7
getOffsetInfo@https://lit-element-typescript-demo-vpuvyn.stackblitz.io/turbo_modules/react-compat-moveable@0.32.3/dist/moveable.cjs.js:970:40
getMatrixStackInfo@https://lit-element-typescript-demo-vpuvyn.stackblitz.io/turbo_modules/react-compat-moveable@0.32.3/dist/moveable.cjs.js:13591:37
calculateMatrixStack@https://lit-element-typescript-demo-vpuvyn.stackblitz.io/turbo_modules/react-compat-moveable@0.32.3/dist/moveable.cjs.js:13744:30
calculateElementInfo@https://lit-element-typescript-demo-vpuvyn.stackblitz.io/turbo_modules/react-compat-moveable@0.32.3/dist/moveable.cjs.js:13865:38
getMoveableTargetInfo@https://lit-element-typescript-demo-vpuvyn.stackblitz.io/turbo_modules/react-compat-moveable@0.32.3/dist/moveable.cjs.js:13926:36
@daybrush daybrush added bug Something isn't working lit labels Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lit
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants