react-autocomplete-input
react-autocomplete-input copied to clipboard
Broken latest version caused by `scroll-into-view-if-needed`
Whenever I trigger "@" it throws error immediately in componentDidUpdate
function with p is not a function
error
value of p
is the library scroll-into-view-if-needed
for some reason only contain a string, not a function causes the error
Reverting back to 1.0.29
will remove this error though
<AutocompleteTextField trigger={"@"} spacer={" "} options={userAutocomplete} onChange={(e: string) => setText(e)} onSelect={() => {}} requestOnlyIfNoOptions={true} value={text} maxOptions={6} />