sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Sentry.ErrorBoundary showDialog is shown multiple times

Open AbhiPrasad opened this issue 3 years ago • 0 comments

Discussed in https://github.com/getsentry/sentry-javascript/discussions/5629

Originally posted by mjooms August 24, 2022 I was testing how the feedback dialog for ErrorBoundary works in a nextjs app. I used the showDialog prop. On a list of 14 items, I was throwing an error for each item (simulating by calling a non existent function).

To my surprise ErrorBoundary showed the feedback dialog 14 times... I had to click close 14 times in the feedback dialog to get rid of them all.

Is this the expected behavior?

AbhiPrasad avatar Aug 29 '22 17:08 AbhiPrasad