You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Wizard 'Back' button does not return to previous step.
To Reproduce
This simple case illustrates the problem:
using Terminal.Gui;
using TerminalCapture;
Application.Init();
Wizard wizard = new Wizard();
wizard.AddStep(new WizardStep());
wizard.AddStep(new WizardStep());
Application.Run(wizard);
When in the second step press the back button, it stays in the same step.
Debugging the code it seems the back button in fact goes back but it instantly goes to the next step, adding a handler to the MovingNext event makes it obvious as it triggers immediatelly and if you cancel the event it stays properly in the correct step.
Expected behavior
Wizard moves back to the previous step and stays in it.
Desktop (please complete the following information):
OS: Windows 11
Version v2_develop
The text was updated successfully, but these errors were encountered:
Describe the bug
Wizard 'Back' button does not return to previous step.
To Reproduce
This simple case illustrates the problem:
When in the second step press the back button, it stays in the same step.
Debugging the code it seems the back button in fact goes back but it instantly goes to the next step, adding a handler to the
MovingNext
event makes it obvious as it triggers immediatelly and if you cancel the event it stays properly in the correct step.Expected behavior
Wizard moves back to the previous step and stays in it.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: