Using the component in an Expo app (web) this exception is thrown:
Uncaught Error
_Keyboard.default.metrics is not a function
Call Stack
setTimeout$argument_0
node_modules/react-native-autocomplete-dropdown/lib/module/index.js
The function in question is calculateDirection: there's a setTimeout lambda beginning with
const kbHeight = Keyboard.metrics()?.height || 0
Changing it like this seems to fix it:
const kbHeight = Keyboard.metrics?.()?.height || 0