Skip to content

Touchoubles not working in StickyView #3

Description

@cveklica

When touchable are inserted in StickyView, they work only when scroll is on top. They are always on the top, but they are not working when scroller down. Same with both FlatList and ScrollView. Also used recommended pointerEvents. Any suggestion?

      <CollapsibleHeaderContainer>
        <StickyView pointerEvents="box-none">
          <Button onPress={() => console.log('aaaaaaa')} />
        </StickyView>
        <View height="50px" color="purple" pointerEvents="none" />
        <StickyView pointerEvents="box-none">
          <View color="yellow" pointerEvents="box-none">
            <TextInput />
          </View>
        </StickyView>
      </CollapsibleHeaderContainer>
      <CollapsibleFlatList // 4️⃣ (Required) Your FlatList/ScrollView
        data={Array(10)}
        keyExtractor={(item, index) => index}
        renderItem={({item, index}) => (
          <View height="150px" color={index % 2 === 0 ? 'blue' : 'red'}>
            <Text>saldjaslkd</Text>
          </View>
        )}
        headerSnappable={false}
      />
    </CollapsibleContainer>```

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