fix: request redraw in selectable text and context menu

This commit is contained in:
Hojjat 2026-08-07 13:45:34 -06:00 • committed by Michael Murphy
parent 8a017a15ee
commit 030a7dbe02
3 changed files with 5 additions and 1 deletions

View file

@ -377,6 +377,7 @@ impl<'a, Message: Clone + 'static> Widget<Message, crate::Theme, Renderer> for S
crate::widget::text_context_menu::TextCtxAction::Copy => {}
crate::widget::text_context_menu::TextCtxAction::SelectAll => {
self.inner.select_all(&mut tree.children[0]);
shell.request_redraw();
}
_ => {}
}