react-spectrum: ListView: from 3.38 slots appear to not work
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:
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
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 39 (14 by maintainers)
Odd, ok, well, I will try to get this merged soon, and we can test it with the nightly route instead. Thank you very much though for trying, it’s appreciated.
Got it. Will have another go at reproducing the fix in the repro repository shortly…
Thanks for reacting quickly! I was suspecting some conflict of this sort, but couldn’t spot any duplicates. I made sure that among installed packages there was only one version of
@adobe/react-spectrumand only one version of@react-spectrum/list(confirmed by lockfile inspection). However, the script in FAQ actually did report multiple versions ofSo I’ll have to address that first.