From a9be9bb126f2978f7eed4ebb2097b3b08abaf189 Mon Sep 17 00:00:00 2001 From: Nick Byrne Date: Mon, 18 Dec 2023 16:41:12 +0100 Subject: [PATCH] Change scroll_position default value from None to 0 --- panel/layout/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/layout/base.py b/panel/layout/base.py index fac4ec1edd..3a970661ce 100644 --- a/panel/layout/base.py +++ b/panel/layout/base.py @@ -910,7 +910,7 @@ class Column(ListPanel): >>> pn.Column(some_widget, some_pane, some_python_object) """ - scroll_position = param.Integer(default=None, doc=""" + scroll_position = param.Integer(default=0, doc=""" Current scroll position of the Column. Setting this value will update the scroll position of the Column. Setting to 0 will scroll to the top.""")