2 Odd Size Issues in (some) Chromium Browsers #528
Unanswered
milocaruso
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm using blazor diagrams for a storage tray layout designer. Seems to be working relatively well and I've been able to extend it a bit. However, I'm running into two weird issues. Thank you ahead of time if anyone has experienced this and has some ideas.
1 - In Chrome and Edge the Size attributes are not what I send into the nodes. For example, if a node has a width of "405px", it is rendered as "404.9951171875px". I do not see this behavior in FireFox so I am assuming this is chromium based browser specific.
2 - In Chrome & Edge, not on all OSs and note all nodes, Not only is the initial width incorrect as discussed in #1, but the nodes actually shrink "in real time". For example, If I start out with a node 405px wide (404.9951171875px in chrome & Edge), it will start to shrink. When looking at the diagram, you can actually see it gradually get smaller. Also, if you inspect the node you can see that the width, and occasionally the height, decrement. The aforementioned 404.9951171875px width shrinks, the right most edge sliding left, until it is "247.89062500000003px" wide. Sometimes it is one node, sometimes it is two or more. At the same time there are plenty of nodes, the same original size, that do not shrink. One other thing to note is that if I click the hamburger for the left hand menu to collapse it to icon only, the shrinking stops and does NOT come back if I expand it.
Thanx!
\M/ilo
Beta Was this translation helpful? Give feedback.
All reactions