From 54ce5c23ae84b39528e976e1e26d3745dcf19163 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Thu, 5 Oct 2023 10:01:54 -0700 Subject: [PATCH] Fix failing React 16 test in main --- src/components/combo_box/combo_box.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/combo_box/combo_box.tsx b/src/components/combo_box/combo_box.tsx index ffc5678c75f..acd7ec2d70c 100644 --- a/src/components/combo_box/combo_box.tsx +++ b/src/components/combo_box/combo_box.tsx @@ -481,6 +481,7 @@ export class EuiComboBox extends Component< onKeyDown: KeyboardEventHandler = (event) => { if (this.props.isDisabled) return; + event.persist(); // TODO: Remove once React 16 support is dropped switch (event.key) { case keys.ARROW_UP: event.preventDefault();