diff --git a/components/lib/chips/Chips.js b/components/lib/chips/Chips.js index 63bbfd40fd..ad98db5476 100644 --- a/components/lib/chips/Chips.js +++ b/components/lib/chips/Chips.js @@ -104,8 +104,13 @@ export const Chips = React.memo( if (isMaxedOut()) { event.preventDefault(); - } else if (props.separator === ',' && event.key === ',') { - addItem(event, inputValue, true); + } else if (props.separator === ',') { + // GitHub #3885 Android Opera gives strange code 229 for comma + const ANDROID_COMMA = 229; + + if (event.key === props.separator || event.which === ANDROID_COMMA) { + addItem(event, inputValue, true); + } } break;