fix: context menu by disabling IME when the widget has context menu

This commit is contained in:
KENZ 2026-04-11 10:23:51 +09:00 committed by KENZ
parent c22d1ccc28
commit 1963929e05

View file

@ -244,6 +244,9 @@ where
if !state.is_focused {
return InputMethod::Disabled;
}
if let Some(_) = self.context_menu {
return InputMethod::Disabled;
}
let view_position = layout.position() + [self.padding.left, self.padding.top].into();