Skip to content

Data Grid content is not being responsive with Textarea/CodeEditor inside a Cell #4293

Open
@jrodriguezcalvo

Description

@jrodriguezcalvo

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

Image

Link to Reproduction

https://codesandbox.io/p/sandbox/paste-starter-kit-forked-d2r3yj?file=%2Fsrc%2Findex.tsx%3A91%2C13

Steps to reproduce

  1. Go to sandbox
  2. Do screen smaller and check the width of codeEditor (in this case) but also applicable to textarea component.
  3. See has it doesn't fit inside the container

Paste Core Version

latest

Browser

All

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Active DiscussionThis discussion is still in progressArea: ComponentsRelated to the component library (core) of this systemType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions