Skip to main content
Version: 3.0.x

setShowAnimationDuration

Use setShowAnimationDuration method, to customize duration of show offset animation with duration value in ms.

Parameters

TypeRequiredDescription
numberno (defaults to 660)show offset animation duration

Example

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

AvoidSoftInput.setShowAnimationDuration(800);