Skip to content

Commit

Permalink
fix: Unset enabled Input visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkrulis committed Apr 26, 2023
1 parent 1bbbc47 commit d469fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-select/src/components/Input.tsx
Expand Up @@ -45,7 +45,7 @@ export const inputCSS = <
}: InputProps<Option, IsMulti, Group>,
unstyled: boolean
): CSSObjectWithLabel => ({
visibility: isDisabled ? 'hidden' : 'visible',
visibility: isDisabled ? 'hidden' : 'unset',
// force css to recompute when value change due to @emotion bug.
// We can remove it whenever the bug is fixed.
transform: value ? 'translateZ(0)' : '',
Expand Down

0 comments on commit d469fa1

Please sign in to comment.