Materialize-stepper icon indicating copy to clipboard operation
Materialize-stepper copied to clipboard

Stepper does not find next step if a button has an icon

Open Jeje2201 opened this issue 2 years ago • 0 comments

Hi

In this exemple, all looks good image

But if in the button, I add an icon, then the stepper does not set to "2" the next step image

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 ?

Jeje2201 avatar Jan 03 '23 11:01 Jeje2201