Skip to content

Commit

Permalink
fix input height regression on text field (#960)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Shwery committed Aug 29, 2020
1 parent 743140f commit 1cff104
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/text-input/src/TextInputField.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import PropTypes from 'prop-types'
import { splitBoxProps } from 'ui-box'
import { FormField } from '../../form-field'
import { useId } from '../../hooks'
import { majorScale } from '../../scales'
import TextInput from './TextInput'

const TextInputField = memo(
Expand All @@ -26,7 +27,7 @@ const TextInputField = memo(
appearance,
placeholder,
spellCheck,
inputHeight = 40,
inputHeight = majorScale(4),
inputWidth = '100%',

// Rest props are spread on the FormField
Expand Down

0 comments on commit 1cff104

Please sign in to comment.