Skip to content

DialogTrigger type="modal" warning #1135

@polmoneys

Description

@polmoneys

🐛 Bug Report

Warnings

🤔 Expected Behavior

No warnings

😯 Current Behavior

Only happens with type="modal":

Warning: Legacy context API has been detected within a strict-mode tree.
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Please update the following components: Transition

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

💻 Code Sample

Codesandbox

🌍 Your Environment

Software Version(s)
react-spectrum 3.4.0
Browser Chrome
Operating System MacOS

🙏🏽

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions