@hoddy-ui/core 1.0.56 → 1.0.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -286,7 +286,9 @@ export const TextField2: React.FC<TextFieldProps> = ({
|
|
|
286
286
|
|
|
287
287
|
const labelAnim = useRef(new Animated.Value(0)).current;
|
|
288
288
|
|
|
289
|
-
const height = moderateScale(
|
|
289
|
+
const height = moderateScale(
|
|
290
|
+
props.multiline ? 50 + (props.numberOfLines || 1) * 18 : 50
|
|
291
|
+
);
|
|
290
292
|
|
|
291
293
|
const setFocused = (value: boolean) => {
|
|
292
294
|
startTransition(() => {
|