diff --git a/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx b/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx index 3870824f2..47fb68d44 100644 --- a/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx +++ b/src/components/DataEntry/DataEntryTable/EntryCellComponents/GlossWithSuggestions.tsx @@ -44,12 +44,10 @@ export default function GlossWithSuggestions( options} - // freeSolo allows use of a typed entry not available as a drop-down option - freeSolo - // option-never-equals-value prevents automatic option highlighting - isOptionEqualToValue={() => false} + filterOptions={(options) => options} // prevents a disappearing-options bug + freeSolo // allows use of a typed entry not available as a drop-down option + includeInputInList // allows arrow up/down out of the suggestions + isOptionEqualToValue={() => false} // prevents automatic option highlighting options={spellChecker.getSpellingSuggestions(props.gloss)} value={props.gloss} onBlur={() => { diff --git a/src/components/DataEntry/DataEntryTable/EntryCellComponents/VernWithSuggestions.tsx b/src/components/DataEntry/DataEntryTable/EntryCellComponents/VernWithSuggestions.tsx index f868027d7..2abab7101 100644 --- a/src/components/DataEntry/DataEntryTable/EntryCellComponents/VernWithSuggestions.tsx +++ b/src/components/DataEntry/DataEntryTable/EntryCellComponents/VernWithSuggestions.tsx @@ -43,12 +43,11 @@ export default function VernWithSuggestions( false} + freeSolo // allows use of a typed entry not available as a drop-down option + includeInputInList // allows arrow up/down out of the suggestions + isOptionEqualToValue={() => false} // prevents automatic option highlighting onBlur={props.onBlur} onFocus={props.onFocus} onInputChange={(_e, value) => {