Skip to content

[Feature]: Add portal to ConfigProvider #2225

@pmairoldi

Description

@pmairoldi

Describe the feature

I am currently developing some components using custom-elements and I have run into a problem where all components that use teleports need to be put inside the custom-element for my styling to work properly. I have resorted to just passing the portal prop to all the components which works fine.

It would be nice to setup the ConfigProvider with a default portal so that all components can adapt automatically. What does everyone think?

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions