@towsila/expo-ui-library 1.5.5 → 1.5.6

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towsila/expo-ui-library",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { Text, TouchableOpacity, View } from "react-native";
2
+ import { ScrollView, Text, TouchableOpacity, View } from "react-native";
3
3
  import Input from "./input";
4
4
  import { Field } from "../../types/formFields";
5
5
  import { useAppTheme } from "../../context/ThemeContext";
@@ -87,7 +87,12 @@ export const DynamicForm: React.FC<Props> = ({
87
87
  );
88
88
 
89
89
  return (
90
- <View style={{ gap: 4 }}>
90
+ <ScrollView
91
+ contentContainerStyle={{ flexGrow: 1 }}
92
+ showsVerticalScrollIndicator={false}
93
+ bounces={false}
94
+ >
95
+ <View style={{ gap: 4, paddingBottom: 20 }}>
91
96
 
92
97
  {/* Stepper — only show if more than 1 step */}
93
98
  {totalSteps > 1 && (
@@ -137,5 +142,6 @@ export const DynamicForm: React.FC<Props> = ({
137
142
  </View>
138
143
  )}
139
144
  </View>
145
+ </ScrollView>
140
146
  );
141
147
  };