Skip to content

ListView: from 3.38 slots appear to not work #7909

Closed
@strogonoff

Description

@strogonoff

Provide a general summary of the issue here

I’m not sure why, but as soon as I bump @adobe/react-spectrum from 3.37.1 to 3.38 ListView slots stop working.

🤔 Expected Behavior?

No change when upgrading.

😯 Current Behavior

This is how it starts to look with an ActionButton, for example:

Image

On 3.37.1, however, it’s fine.

💁 Possible Solution

Not sure.

🔦 Context

My goal is to bump to the latest version of Spectrum, but I’m stuck on this.

🖥️ Steps to Reproduce

Use ListView in version 3.38+ with any slots (<Text slot="description">, <ActionButton>, checkbox selection, all are broken—in DOM tree their elements simply do not get assigned their respective classes).

Version

3.38.1 (I tried all of them up to 3.40.1)

What browsers are you seeing the problem on?

Other, Chrome

If other, please specify.

No response

What operating system are you using?

macOS

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

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