react-native-autocomplete-dropdown icon indicating copy to clipboard operation
react-native-autocomplete-dropdown copied to clipboard

Enhancement: prop to set parent ref

Open dFelinger opened this issue 2 years ago • 0 comments

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?

1 2

Something like this

activeInputRef.current = containerRef.current -> activeInputRef.current = props.parentRef ? props.parentRef.current : containerRef.current

dFelinger avatar Mar 20 '24 13:03 dFelinger