-
Notifications
You must be signed in to change notification settings - Fork 189
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
Incorrect canvas size in browser #184
Comments
Some more results: This page renders correctly: https://elliottslaughter.github.io/legion-prof-viewer/ However, building and running https://github.com/elliottslaughter/legion-prof-viewer locally results in a very strange result: it renders with the correct width, but much too short, and then the canvas grows vertically on every redraw, quickly extending off the bottom of the window. Seems like there is probably a change in some dependency that isn't totally locked down. |
Does this https://emilk.github.io/eframe_template/ page render correctly for you? For me it looks like The logs are also fairly benign |
Yes, it does render correctly on my end. |
Here is the cargo.lock file for when I build eframe_template on my end: And the build log:
|
I am seeing this issue when running the code in this repo verbatim with "trunk serve". Effectively, the UI does not appear to be rendering correctly in the browser, and I tested in both Firefox and Chromium. It looks like the UI "zooms in" immediately on load; it renders much too large for a fraction of a second and then disappears. Opening the developer console in Chrome doesn't show any useful log entries, but mousing over the canvas reports the canvas size as 22369600 x 22369600. Similarly, opening the developer console in Firefox reveals log entries about very large requested sizes. I also rolled the repo back to 0.29 and 0.28 and got the same result.
Firefox:
Chromium:
The text was updated successfully, but these errors were encountered: