From a7a9c1e1a52b279d07e3439aff684ad9bc7a3964 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 31 Oct 2025 16:44:19 +0000 Subject: [PATCH 1/3] add refresh --- src/textual/widget.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/widget.py b/src/textual/widget.py index 9382a25dc5..f0b064fb27 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -4460,6 +4460,7 @@ def set_focus(widget: Widget) -> None: except NoScreen: pass + self.refresh() self.app.call_later(set_focus, self) return self From cf0653a027999caa36ab07911b9755938a6fa4fd Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 31 Oct 2025 16:46:38 +0000 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 7 ++++++- pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e94d86f9ee..b53a26a649 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [6.5.1] - Unreleased +## [6.5.0] - Unreleased ### Added - Added `DOMNode.trap_focus` https://github.com/Textualize/textual/pull/6202 +### Fixed + +- Fixed issue with focus + scroll https://github.com/Textualize/textual/pull/6203 + ## [6.4.0] - 2025-10-22 ### Fixed @@ -3167,6 +3171,7 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040 - New handler system for messages that doesn't require inheritance - Improved traceback handling +[6.5.0]: https://github.com/Textualize/textual/compare/v6.4.0...v6.5.0 [6.4.0]: https://github.com/Textualize/textual/compare/v6.3.0...v6.4.0 [6.3.0]: https://github.com/Textualize/textual/compare/v6.2.1...v6.3.0 [6.2.1]: https://github.com/Textualize/textual/compare/v6.2.0...v6.2.1 diff --git a/pyproject.toml b/pyproject.toml index dd26f61cd7..39f2e3c5e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "textual" -version = "6.4.0" +version = "6.5.0" homepage = "https://github.com/Textualize/textual" repository = "https://github.com/Textualize/textual" documentation = "https://textual.textualize.io/" From 65dd84ae5532f99c7d909d76093e80b569c3598d Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 31 Oct 2025 17:20:53 +0000 Subject: [PATCH 3/3] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b53a26a649..e4de299317 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [6.5.0] - Unreleased +## [6.5.0] - 2025-10-31 ### Added