react-native-spotlight-input icon indicating copy to clipboard operation
react-native-spotlight-input copied to clipboard

feature request: callbacks for didRequestExpand, didReqestCollapse

Open shrugs opened this issue 7 years ago • 0 comments

Primary use case: I want to automatically submit a form once the TextInput collapses (if the validation passed). This means my controller needs to know that a collapse was requested (via their a keyboard hide or tapping on the background) and then conditionally ref.collapse() depending on the app state and submit the form in the background.

shrugs avatar Oct 05 '18 21:10 shrugs