Skip to content

The animation and duration settings are not working #248

Description

@phongnguyenmaster

Environment

Library version: 8.0.2
OS version: iPhone All version

Affected platforms

  • Android
  • iOS

Current behavior

The configuration does not take effect when returning to the Home page and back to the Forms page.
Step 1: Go to Form -> Show Keyboard -> Animation OK
Step 2: Go back to Home
Step 3: Go to Form -> Show Keyboard -> Animation Not Ok

Expected behavior

Animation take effect with current config:

<AvoidSoftInputView
        showAnimationDelay={0}
        showAnimationDuration={0}
        hideAnimationDelay={0}
        hideAnimationDuration={0}
        enabled={enabled}
        style={commonStyles.screenContainer}>
</AvoidSoftInputView>
Screen.Recording.2026-01-02.at.14.23.42.mov

Reproduction

https://github.com/mateusz1913/react-native-avoid-softinput/blob/main/packages/expo-example/src/screens/EnabledViewPropExample.tsx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions