Closed CHE1RON closed 3 months ago
Looks like we're accidentally overwriting it https://github.com/adobe/react-spectrum/blob/2fd87d9f1d894e6b00a595cce73c6e8828029132/packages/%40react-spectrum/color/src/ColorSwatch.tsx#L64
want to contribute a fix?
let me have a look ๐
Provide a general summary of the issue here
Using
ColorSwatch
, I want to give it a border, but it is not applied, no matter what I do ๐๐ค Expected Behavior?
Given this code:
๐ฏ Current Behavior
no border showing
๐ Possible Solution
I checked the component source code, but to me it seems that
className
is applied after usinguseStyleProps
so maybe it gets overwritten?๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
Paste code above with list of some color codes and try to apply
UNSAFE_className
Version
3.35.1
What browsers are you seeing the problem on?
Firefox, Chrome
If other, please specify.
No response
What operating system are you using?
macOS
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response