You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to get the CodeSnippet component into a "wrong" state by scrolling it to the very right (making the right overflow indicator disappear), and then resizing the snippet (e.g. by resizing the browser window) so that the snippet isn't fully scrolled to the right anymore. The indicator should appear again, and I think there is even code in there that should make this work, but it doesn't.
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
It's possible to get the CodeSnippet component into a "wrong" state by scrolling it to the very right (making the right overflow indicator disappear), and then resizing the snippet (e.g. by resizing the browser window) so that the snippet isn't fully scrolled to the right anymore. The indicator should appear again, and I think there is even code in there that should make this work, but it doesn't.
Steps to reproduce the issue
Additional information
See the hard cutoff on the right:
The text was updated successfully, but these errors were encountered: