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

Rotation results in inconsitent points #767

Open
phillmagic opened this issue Nov 17, 2021 · 0 comments
Open

Rotation results in inconsitent points #767

phillmagic opened this issue Nov 17, 2021 · 0 comments

Comments

@phillmagic
Copy link

Expected Behavior

Expecting the height and width of the viewport to remain the same regardless of rotation added to the viewport boundary

Actual Behavior

The height is not accurate based on analysed calculation

Steps to Reproduce the Problem

  1. Add rotation to the viewport style (transform: rotate(30deg)
  2. Try and get points
  3. Calculate height with rotation, calculate height without rotation, different result

Example Link

Please recreate your issue using JSbin, JSFiddle, or Codepen.

  • Link:

Specifications

  • Browser: Google chrome
  • Version:
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