Skip to content

Commit 195a257

Browse files
fix(Select): fix label not hiding when visibility is set to hidden
1 parent d1aeb03 commit 195a257

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SelectInput/Content/SingleContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const SingleContent = React.forwardRef<HTMLInputElement, SharedContentProps>(
3434
const restProps: React.HTMLAttributes<HTMLDivElement> = {
3535
className: `${prefixCls}-content-value`,
3636
style: {
37-
visibility: mergedSearchValue ? 'hidden' : 'visible',
37+
visibility: mergedSearchValue ? 'hidden' : '',
3838
},
3939
};
4040

0 commit comments

Comments
 (0)