I have a two column flexbox layout, in which the left column is some menu/property editor, and the right column is where the vis network is drawn.
Everything works fine when the browser is in normal zoom (100%) or is set smaller (<100%).
But when the zoom is above 100%, the canvas gets an incorrect width and the layout gets broken.
I have a two column flexbox layout, in which the left column is some menu/property editor, and the right column is where the vis network is drawn.
Everything works fine when the browser is in normal zoom (100%) or is set smaller (<100%). But when the zoom is above 100%, the canvas gets an incorrect width and the layout gets broken.
Here's a simple demo: https://jsfiddle.net/2w0smceq/
Any help would be appreciated.