setHideAnimationDuration
Use setHideAnimationDuration
method, to customize duration of hide offset animation with duration value in ms.
Parameters
Type | Required | Description |
---|---|---|
number | no (defaults to 220) | hide offset animation duration |
Example
import { AvoidSoftInput } from "react-native-avoid-softinput";
AvoidSoftInput.setHideAnimationDuration(300);