Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel Height Issue #11

Open
crzycoder opened this issue Oct 4, 2018 · 1 comment
Open

Panel Height Issue #11

crzycoder opened this issue Oct 4, 2018 · 1 comment

Comments

@crzycoder
Copy link

crzycoder commented Oct 4, 2018

when i click arrow the expanded view does not show fully . I take expanded view in flatlist items . it's show me expanded items in ScrollView .. I didn't want ScrollView ..


Ummat E Mahammadi

<View style={{ height: 40 }}>

Home

{this._renderSeparator()}


<FlatList
data={[
{
title: "AL QURAN"
},
{
title: "NAAT"
},
{
title: "BAYYAN"
},
{
title: "QISA"
}
]}
renderItem={({ item }) => (
<ListItem
hideChevron
title={item.title}
containerStyle={{
borderBottomColor: "transparent",
borderBottomWidth: 0,
height: 35
}}
/>
)}
keyExtractor={item => item.title}
ItemSeparatorComponent={this.renderSeparator}
style={{ height: 110 }}
/>


{this._renderSeparator()}
<View style={{ height: 40 }}>

Watch

{this._renderSeparator()}
<View style={{ height: 40 }}>

Reciters

{this._renderSeparator()}


<FlatList
data={[
{
title: "Tilawat"
},
{
title: "Hamd"
},
{
title: "Naat Shareef"
},
{
title: "Information"
},
{
title: "Tafseer"
},
{
title: "Q.A"
},
{
title: "Istakbal-e-Ramadan"
},
{
title: "Dua-e-Istiqbal-e-Maah-e-Ramadhan"
}
]}
renderItem={({ item }) => (
<ListItem
hideChevron
title={item.title}
containerStyle={{
borderBottomColor: "transparent",
borderBottomWidth: 0,
height: 35
}}
/>
)}
keyExtractor={item => item.title}
ItemSeparatorComponent={this.renderSeparator}
style={{ height: 110 }}
/>


{this._renderSeparator()}

@KaroUlm
Copy link

KaroUlm commented Jan 2, 2019

Having a similar problem with dynamic data by using mapping function, all panels will be opend and the height is static to the first item i clicked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants