Active step not changing in buyer journey

The store has multi-page checkout. At first the active step is “information”. After moving to payment page where you select the payment method, input credit card details and fill billing address, you expect the active step to become “payment”, but it stays as “information”. This prevents us from executing the code exactly on that page. Does anyone have any solution for this?