reactour icon indicating copy to clipboard operation
reactour copied to clipboard

Uncaught RangeError: Maximum call stack size exceeded

Open MatheusWentzel opened this issue 1 year ago • 5 comments

Hi!

When open a dialog while the tour is active the start the loop error "Uncaught RangeError: Maximum call stack size exceeded" (Full log attached). The navigator crash with all error logs. Have something to do for don't show this error?

I have tried update the packge, but not worked.

Version

"@reactour/tour": "^2.13.0",

The config files are attached too.

steps.txt index.txt errorlog.txt

Help me please :)

MatheusWentzel avatar Aug 24 '22 02:08 MatheusWentzel

Hi @MatheusWentzel, thanks for open the Issue.

Mind creating a minimal reproduction in a sandbox in order to allow others to debug your use-case and try to find a solution? Thanks!

elrumordelaluz avatar Aug 24 '22 08:08 elrumordelaluz

Had this similar error recently, the problem was a modal and the tour fighting for focus over and over again, adding a small wait to the render or advance on click fixed it.

cdelst avatar Aug 25 '22 22:08 cdelst

@cdelst Can you send the code you used to solve this problem? Just the section with the small wait is good :) Tkss!

MatheusWentzel avatar Aug 31 '22 02:08 MatheusWentzel