Skip to content

Modal: add dimmer shorthand #2877

@edvardsk

Description

@edvardsk

Feature Request

Modal portal class name option or any other possibility to style modals container.

Problem description

Right now there is no possibility to style default .modals portal via modal component. It is a big limitation, that reduce flexibility of the modal usage. The only one way to do it right now - it is overriding mountNode. But it is unnecessary and redundant in most cases.

Proposed solution

It will be great to have some prop in modal component, that will give possibility to add class to parent portal, something like portalClassName.

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