From c038d3775b144543fc95137bc14bec379368a84a Mon Sep 17 00:00:00 2001 From: Hojjat Date: Thu, 2 Apr 2026 18:15:41 -0600 Subject: [PATCH] fix: buttons are focusable again --- src/widget/button/widget.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widget/button/widget.rs b/src/widget/button/widget.rs index a4e32378..4acf3f2d 100644 --- a/src/widget/button/widget.rs +++ b/src/widget/button/widget.rs @@ -357,6 +357,8 @@ impl<'a, Message: 'a + Clone> Widget operation, ); }); + let state = tree.state.downcast_mut::(); + operation.focusable(Some(&self.id), layout.bounds(), state); } fn update(