Open
Description
Description
When DataGrid is in a Disclosure element and its width is fixed and with overflow set to auto, the elements as TextArea or CodeEditor are taking more width than it is corresponding. Please check this sandbox and play with the window width. Thank you in advanced

Link to Reproduction
https://codesandbox.io/p/sandbox/paste-starter-kit-forked-d2r3yj?file=%2Fsrc%2Findex.tsx%3A91%2C13
Steps to reproduce
- Go to sandbox
- Do screen smaller and check the width of codeEditor (in this case) but also applicable to textarea component.
- See has it doesn't fit inside the container
Paste Core Version
latest
Browser
All
Operating System
- macOS
- Windows
- Linux
Additional Information
No response