fix: buttons are focusable again

This commit is contained in:
Hojjat 2026-04-02 18:15:41 -06:00 committed by Michael Murphy
parent 7a02c9a296
commit 24464908f6

View file

@ -357,6 +357,8 @@ impl<'a, Message: 'a + Clone> Widget<Message, crate::Theme, crate::Renderer>
operation,
);
});
let state = tree.state.downcast_mut::<State>();
operation.focusable(Some(&self.id), layout.bounds(), state);
}
fn update(