Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: CodeSnippet Component break page in production #18248

Open
2 tasks done
CarmineBruno opened this issue Dec 12, 2024 · 0 comments
Open
2 tasks done

[Bug]: CodeSnippet Component break page in production #18248

CarmineBruno opened this issue Dec 12, 2024 · 0 comments

Comments

@CarmineBruno
Copy link

Package

@carbon/react

Browser

Chrome

Package version

1.68.0

React version

17.0.1

Description

When navigate on routes that use the CodeSnippet component, the application breaks.
The problem is that this only happens in production and works fine in local development.

Image

This problem appears when I updating the @carbon/react library from 1.19.0 to 1.68.0. Something changed in the CodeSnippet component and seems related to ResizeObserver that changed from the 1.19.0 version.

Reproduction/example

none

Steps to reproduce

Simply use CodeSnippet component and run the application in production. I tried on Chrome, Edge and Firefox.

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

3 participants