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

large graph viz: cliping #38

Open
esaule opened this issue Feb 24, 2019 · 3 comments
Open

large graph viz: cliping #38

esaule opened this issue Feb 24, 2019 · 3 comments
Assignees

Comments

@esaule
Copy link
Member

esaule commented Feb 24, 2019

It seems that on he large graph visualization if you rescale the "frame" where the visualization is, the cliping field of webgl does not update correctly.
It is not urgent.

@krs-world
Copy link
Contributor

krs-world commented Feb 24, 2019 via email

@esaule
Copy link
Member Author

esaule commented Jul 2, 2019

So it turns out that is not a webgl problem.
The key problem is that the div that contain the canvas is the one with a resize icon. When yo resize it, it does not propagate the information to the underlying canvas. If you resize the window itself, it will work, but if you just resize the div it won't.

The main problem is that the html 5 specification does not allow to wait on a resize event even if the css enables the resize icon to be there. The resize event exist but is only triggered by window resize and not in page resize.

There will be a proper javascript event that will be integrated eventually. Pretty annoying in the mean time.

@esaule
Copy link
Member Author

esaule commented Jul 1, 2022

in 2019 I commented that there was a missing JS event. Is it a thing now?

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

3 participants