diff --git a/src/textual/widget.py b/src/textual/widget.py index 71e578b5b7..e6b124f191 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -3232,6 +3232,8 @@ def scroll_visible( immediate=immediate, ) else: + # self.region is falsey which may indicate the widget hasn't been through a layout operation + # We can potentially make it do the right thing by postponing the scroll to after a refresh self.call_after_refresh( self.screen.scroll_to_widget, self,