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

Incorect bbox with Infinity value for Container #407

Closed
1 task done
dengfuping opened this issue Feb 19, 2020 · 0 comments · Fixed by #408
Closed
1 task done

Incorect bbox with Infinity value for Container #407

dengfuping opened this issue Feb 19, 2020 · 0 comments · Fixed by #408

Comments

@dengfuping
Copy link
Member

dengfuping commented Feb 19, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • See the log of console.

What is expected?

  • The bbox of group should be { x: 0, y: 0, minX: 0, minY: 0, maxX: 0, maxY: 0, width: 0, height: 0 } both.

What is actually happening?

  • The bbox of group should be { x: Infinity, y: Infinity, minX: Infinity, minY: Infinity, maxX: Infinity, maxY: Infinity, width: Infinity, height: Infinity } both.
Environment Info
g-canvas 0.3.20
System Mac OS
Browser Google Chrome 78.0.3904.70
dengfuping added a commit that referenced this issue Feb 24, 2020
fix(g-base): bbox calculation should be correct for container,  close #417 and #407
openwayne pushed a commit to openwayne/g that referenced this issue Jan 18, 2021
openwayne pushed a commit to openwayne/g that referenced this issue Jan 18, 2021
fix(g-base): bbox calculation should be correct for container,  close antvis#417 and antvis#407
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

Successfully merging a pull request may close this issue.

1 participant