Materialize-stepper
Materialize-stepper copied to clipboard
Stepper does not find next step if a button has an icon
Hi
In this exemple, all looks good
But if in the button, I add an icon, then the stepper does not set to "2" the next step
The only change was to add the icon in the button
Before :
<ion-button class="button-outline temp_jeremy" onClick={() => { this.launchModal() }}>{this.translationObj.see_all_templates}</ion-button>
After :
<ion-button class="button-outline temp_jeremy" onClick={() => { this.launchModal() }}><ion-icon class="reneco reneco-layers"></ion-icon>{this.translationObj.see_all_templates}</ion-button>
Im guessing that your lib may not like that a button has an icon so it mess with your stepper number ?
How can I manage to add an icon in my button ?