FlexLayout
FlexLayout copied to clipboard
Question - is there a way to prevent a tab from being resized?
I'd like to create a fixed tab that cannot be resized (or maximized etc.)
Is it possible to configure that? And if so, how would I do that?
Thanks in advance! Great code! Appreciated!
did you find any solution ?
the only way I found it to work but it's a bit hacky is to set "splitterSize" to 0 in the global configuration
I accidentally stumbled on the solution for your problem when trying to trigger window resize event.
Action gets blocked when you capture it and then not return it.
<FlexLayout.Layout
realtimeResize
model={FlexLayout.Model.fromJson(json)}
factory={factory}
onAction={(e) => {
window.dispatchEvent(new Event('resize'))
return e
}}
/>
Amazing! Thank you!