diff --git a/lumen/views/base.py b/lumen/views/base.py index a15750e45..50df8c102 100644 --- a/lumen/views/base.py +++ b/lumen/views/base.py @@ -161,7 +161,9 @@ def _valid_keys_(cls) -> List[str] | None: def __panel__(self) -> Viewable: if not self._initialized: self.update() - return pn.panel(pn.bind(lambda e: self.panel, self.param.rerender)) + bound = pn.param.ParamFunction(pn.bind(lambda e: self.panel, self.param.rerender)) + bound._internal = False + return bound def _update_loading(self, event): if hasattr(self._panel, 'loading'):