react-native-my-survey-sdk 2.2.7 → 2.2.9

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": "react-native-my-survey-sdk",
3
- "version": "2.2.7",
3
+ "version": "2.2.9",
4
4
  "description": "Xebo survey collection SDK for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -12,8 +12,9 @@ export const XeboIntroView: React.FC<Props> = ({ introPage, onStart }) => {
12
12
  const theme = getTheme();
13
13
 
14
14
  return (
15
- <View style={styles.container}>
16
- {/* Scrollable content area button stays pinned below no matter how long the text */}
15
+ // Same pattern as NPS/Rating: outer flex view, scroll takes remaining space,
16
+ // button sits OUTSIDE scroll in normal flow no absolute positioning needed.
17
+ <View style={styles.outer}>
17
18
  <ScrollView
18
19
  style={styles.scroll}
19
20
  contentContainerStyle={styles.scrollContent}
@@ -40,11 +41,11 @@ export const XeboIntroView: React.FC<Props> = ({ introPage, onStart }) => {
40
41
  };
41
42
 
42
43
  const styles = StyleSheet.create({
43
- container: {
44
+ outer: {
44
45
  flex: 1,
45
46
  paddingHorizontal: 20,
46
47
  paddingTop: 16,
47
- paddingBottom: 8,
48
+ paddingBottom: 16,
48
49
  },
49
50
  scroll: {
50
51
  flex: 1,