panel icon indicating copy to clipboard operation
panel copied to clipboard

Bug when changing FastGridTemplate dimensions

Open xavArtley opened this issue 3 years ago • 1 comments

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

xavArtley avatar Apr 15 '22 16:04 xavArtley

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.

philippjfr avatar Apr 29 '22 10:04 philippjfr