dcc.Tabs
wraps react tabs
as far as I know. Is there a way to change the forceRenderTabPanel property with python (or custom.js)?
(The same could be achieved with forceRender and dcc.Tab
)
I tried this:
class CustomTabs(dcc.Tabs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._prop_names.append("forceRenderTabPanel")
self._prop_defaults = {"forceRenderTabPanel": True}
class CustomTab(dcc.Tab):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._prop_names.append("forceRender")
self._prop_defaults = {"forceRender": True}
which did not do the trick.