We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Select
1 parent 54b78e0 commit 4ac7188Copy full SHA for 4ac7188
.changeset/open-doors-flash.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/clerk-js': patch
3
4
+
5
+Remove opacity from `Select` placeholder
packages/clerk-js/src/ui/elements/Select.tsx
@@ -393,16 +393,7 @@ export const SelectButton = (
393
394
let show: React.ReactNode = children;
395
if (!children) {
396
- show = selectedOption ? (
397
- buttonRenderOption(selectedOption)
398
- ) : (
399
- <Text
400
- as='span'
401
- sx={t => ({ opacity: t.opacity.$inactive })}
402
- >
403
- {placeholder}
404
- </Text>
405
- );
+ show = selectedOption ? buttonRenderOption(selectedOption) : <Text as='span'>{placeholder}</Text>;
406
}
407
408
return (
0 commit comments