onafterchange is not called after change
Description
I am trying to have intro.js recalculate the position of a tooltip on the fly, as the position of the element selected changes from step 1 to step 2 of the introduction. To do this, I am calling refresh in an onafterchange. However, onafterchange is called before the position of the element is calculated. It should be called after.
Expected Behavior
I expected onafterchange to be called after the change (inserting the tooltip)
Actual Behavior
onafterchange is called before the change.
There is an existing issue (now closed by a bot) on this topic - https://github.com/usablica/intro.js/issues/936
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.