react-native-autocomplete-dropdown
react-native-autocomplete-dropdown copied to clipboard
Enhancement: prop to set parent ref
Sometimes width of input is not enough for dropdown list. Idea is to pass parent element ref as prop to calculate position by this one instead of activeInputRef. Is this feature viable?
Something like this
activeInputRef.current = containerRef.current -> activeInputRef.current = props.parentRef ? props.parentRef.current : containerRef.current