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

Screen Resize SVG canvas adaption #19

Closed
SpiritSeal opened this issue Sep 14, 2022 · 1 comment
Closed

Screen Resize SVG canvas adaption #19

SpiritSeal opened this issue Sep 14, 2022 · 1 comment
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@SpiritSeal
Copy link
Owner

When resizing the window, particularly from a lower resolution to a greater one, the svg canvas remains the same size, causing visual rendering issues, such as nodes only being visible on half of the screen.

An optimal resolution to this problem that could also resolve the issue of a limited svg canvas space in general would be to utilize svg viewports and viewboxes to allow the svg simulation canvas to appear to become the full size of the available window space, but allowing d3 to continue to interact with the element as it already does.

@SpiritSeal SpiritSeal added the bug Something isn't working label Sep 14, 2022
@SpiritSeal SpiritSeal closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2022
@SpiritSeal
Copy link
Owner Author

Superseded by #26

@SpiritSeal SpiritSeal added the duplicate This issue or pull request already exists label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants