How to resize scrolling area when the diagram changes size #1913
-
Hello all! I'm wondering how to resize the scrolling area when the diagram is resized. I'm attaching a screen capture video so you can see what I mean: Here is a code sandbox with the code I'm using: https://codesandbox.io/s/x6-test-unw5yf In the capture above, I would like the scrolling area to always cover the whole blue area. Right now I'm using Window resize event to manually resize the graph, which does work, but I'm wondering if there is a better way. Thanks in advance! Yannick |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Using window resize event to resize graph seems to be a good way to do it. |
Beta Was this translation helpful? Give feedback.
-
Ok thanks! |
Beta Was this translation helpful? Give feedback.
Ok thanks!