Skip to content

non Portaled confirm() dialogs are unstyled. #4034

@keithamus

Description

@keithamus

Description

In #3840 we're no longer using <Portal> to place the dialog, but doing so we realised that the <BaseStyles> provider is missing from the confirm() call.

Steps to reproduce

  1. Remove <Portal> from <Dialog>.
  2. Call confirm()
  3. Observe unstyled <Dialog>

Version

v36.4.0

Browser

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions