I have this structure:
<div id="app">
<div class="document-reader-root">
<div class="left-bar">
Left bar
</div>
<div class="content">
Content
</div>
</div>
<div class="right-bar">
Right bar
</div>
</div>
And after a click on a button, I'm changing the flex size of the left-bar and content but this triggers a small movement of the content. It's hard to explain it in words so I created a jsfiddle to demonstrate it. FYI, I can't change the structure of the divs.
Any ideas on how to prevent this?
Thanks!