[ad_1]
Hi there,
It’s probably because the buttons are re-rendered at every step, because their content might change.
Can you share you JS here?
Depending on what you want to do, you can also use the JS action PC.fe.steps.display_step
E.g.
wp.hooks.addAction( 'PC.fe.steps.display_step', 'your_context', function( steps_object ) {
// Do your thing here
console.log( 'changed step', steps_object.current_step );
} );
Marc