Skip to content

onCodeFilled method called multiple times in iOS. #225

Description

@dprajapati1179

Describe the bug
The onCodeFilled Callback function which triggers when all fields of the OTP have been filled is called 2-4 times due to which the functionality is braking in my app.

To Reproduce
Steps to reproduce the behavior:

  1. Add one OTP input and add one console in onCodeFilled method.
  2. Fill the input completely add all six numbers.
  3. You will find that in iOS the console is executed multiple times.
  4. See error

Expected behavior
It should work only one time once the code is filled as working on Android.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone 15 Pro Max]
  • OS: [e.g. iOS8 17.1]
  • Version [e.g. 1.3.11]

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions