holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.76k stars 517 forks source link

Bug when changing FastGridTemplate dimensions #3395

Open xavArtley opened 2 years ago

xavArtley commented 2 years ago

MRE:

import panel as pn
template = pn.template.FastGridTemplate(dimensions ={'minW': "300", 'maxW': 'Infinity', 'minH': 0, 'maxH': 'Infinity'})
template.main[:3,:3] = pn.Tabs(("Tab1", None), ("Tab2", None), sizing_mode="stretch_both")
template.show()

fast_grid_diensions_bug

philippjfr commented 2 years ago

Honestly not sure if this isn't a bug in ReactGrid, its constraints solver seems to fail here which leaves it in a broken state until another resize event is triggered.