Skip to content

Add "overflow" property to the <Card /> #13951

@tadjik1

Description

@tadjik1

Summary

Im trying to add rich text editor (quilljs) into my application, and the text field is located inside <Card /> component. Because of hardcoded overflow: clip value tooltips for links, changing headings, color picker, etc. are not displayed correctly.
At the same time recreating component is quite complicated because its' internal implementation relying on ShadowBevel which is not publicly available.
Are there any potential problems with exposing "overflow" as a component property?

Rationale

To be more flexible on the application side, and be able to pass overflow in case the default "clip" is not enough:

<Card roundedAbove="sm" overflow="visible">
  ...
</Card>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions