Skip to content

Not able to "skip" steps inside handleStep function #194

Description

@michaelparkadze

I have the following function

  handleStep(() => {
    const { isViable, nextViableQuestionIndex } = isQuestionVisible();

    if (!isViable && nextViableQuestionIndex) {
      console.log("going to step", nextViableQuestionIndex);
      goToStep(5);
    }
  });

when I try to programtically use goToStep function nothing really happens. when I created a button as part of the wizard step and click it it works.

I even tried creating a workaround by making a hidden button that if u click it the function works but when going about it programmatically again nothing happens.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions