intro.js icon indicating copy to clipboard operation
intro.js copied to clipboard

onafterchange is not called after change

Open bartimez opened this issue 5 years ago • 1 comments

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

bartimez avatar Oct 29 '20 15:10 bartimez

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.

stale[bot] avatar Nov 28 '20 17:11 stale[bot]