Skip to main content
Version: 7.0.x

setHideAnimationDuration

Use setHideAnimationDuration method, to customize duration of hide offset animation with duration value in ms.

Parameters

TypeRequiredDescription
numberno (defaults to 220)hide offset animation duration

Example

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

AvoidSoftInput.setHideAnimationDuration(300);