Skip to main content
Version: Next

onSoftInputHidden

Use onSoftInputHidden method, if you want to listen to events when soft input is hidden.

Parameters

TypeRequiredDescription
() => voidyesfunction called when soft input is hidden

Example

import { AvoidSoftInput } from "react-native-avoid-softinput";

const unsubscribe = AvoidSoftInput.onSoftInputHidden(() => {
// Do sth
});

// later invoke unsubscribe.remove()