-
Couldn't load subscription status.
- Fork 23
Open
Description
To specify the minimum height of the header, I gave the headerHeight less than the actual height. As I expected, the header was displayed at the minimum height in a collapsed state. But in this state, the buttons in the header did not work.
It seems that the touchable height follows the specified headerHeight, not the actual height of the header.
<CollapsibleHeaderScrollView
CollapsibleHeaderComponent={
<>
<View style={{height: 100}} />
<Button style={{height: 100}} onPress={() => console.log('pressed')}>
<Text>BUTTON</Text>
</Button>
</>
}
headerHeight={100}
>
<View style={{height: 5000, backgroundColor: 'wheat'}} />
</CollapsibleHeaderScrollView>
Metadata
Metadata
Assignees
Labels
No labels