Describe the bug
An uncaught RenderingCancelledException is thrown when a PDF is in the process of being rendered within a component that is unmounted.
To Reproduce
Steps to reproduce the behavior:
- Render a PDF within a parent component that can be unmounted (for example in a modal dialog).
- While the PDF is in the process of rendering (indicated via a loading spinner) unmount the parent component.
- An uncaught
RenderingCancelledException is thrown.
Expected behavior
No error is thrown when the parent component unmounts.
Desktop (please complete the following information):
- OS: macOS Tahoe 26.5.2 (25F84)
- Browser: Chrome 150.0.7871.115
Additional context
Add any other context about the problem here.
Describe the bug
An uncaught
RenderingCancelledExceptionis thrown when a PDF is in the process of being rendered within a component that is unmounted.To Reproduce
Steps to reproduce the behavior:
RenderingCancelledExceptionis thrown.Expected behavior
No error is thrown when the parent component unmounts.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.