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

[Bug] getBoundingClientRect should account for masked / clipped objects #541

Open
3 tasks done
jonobr1 opened this issue Jun 10, 2021 · 0 comments
Open
3 tasks done
Assignees
Labels

Comments

@jonobr1
Copy link
Owner

jonobr1 commented Jun 10, 2021

Describe the bug
When calculating getBoundingClientRect the masked or clipped content calculates the full dimensions without being clipped resulting in unintended behavior.

Environment (please select one):

  • Code executes in browser (e.g: using script tag to load library)
  • Packaged software (e.g: ES6 imports, react, angular, vue.js)
  • Running headless (usually Node.js)

Desktop (please complete the following information):

  • All versions and browsers
@jonobr1 jonobr1 added the bug label Jun 10, 2021
@jonobr1 jonobr1 self-assigned this Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant