Skip to content

The Picker and ComboBox example in the document doesn't work #4228

Closed
@vimcaw

Description

@vimcaw

🐛 Bug Report

I just paste code from documents, and it doesn't work, the items don't show.

CleanShot 2023-03-19 at 00 17 12@2x

CleanShot 2023-03-19 at 00 17 30@2x

CleanShot 2023-03-19 at 00 15 52@2x

🤔 Expected Behavior

The items of Picker and ComboBox display normally as same as the document.

😯 Current Behavior

The items of Picker and ComboBox are gone.

💁 Possible Solution

None.

🔦 Context

I just want both components work normally.

💻 Code Sample

https://codesandbox.io/s/react-spectrum-bug-io42gg?file=/src/App.js

🌍 Your Environment

Software Version(s)
react-spectrum 3.25.1
Browser Chrome 111.0.5563.64
Operating System macOS 13.2.1 (22D68)

🧢 Your Company/Team

It's my personal project.

🕷 Tracking Issue (optional)

None.

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