Skip to content

Outer ScrollViewΒ #20

@mayshin10

Description

@mayshin10

Hi :) I am trying to put the horizontal Pager in a vertical ScrollView. The problem is that the vertical scroll is not detected in the area of the pager. I want to scroll down even if I touch the area of the pager.

export default function App() {
  return (
    <ScrollView>
      <View>
        <Text style={styles.text}>
          Want to Scroll
        </Text>
      </View>
      <View style={styles.flex}>
        <InfinitePager
          PageComponent={Page}
          style={styles.flex}
          pageWrapperStyle={styles.flex}
        />
      </View>
    </ScrollView>
  );
}

Here is my code that I use to test. Please tell me if there is a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions