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

On Alphabet click , list does not scroll to that section as expected. Scroll Alignment is improper. #53

Open
swati-kholiya opened this issue Dec 10, 2018 · 2 comments

Comments

@swati-kholiya
Copy link

swati-kholiya commented Dec 10, 2018

I have provided cellHeight, headerHeight too . Still I can see it does not scroll right. Am I missing something or doing wrong?
<AlphabetListView
data={data}
cell={data => {
return this.renderItem(data.item);
}}
cellHeight={50}
sectionListItem={data => {
return (
<View
style={{
alignItems: "center",
alignSelf: "center",
justifyContent: "center"
}}
>

{data.title}


);
}}
sectionHeader={data => {
return this.renderSectionHeader(data);
}}
sectionHeaderHeight={22.5}
updateScrollState={true}
/>

@swati-kholiya swati-kholiya changed the title On Alphabet click , list does not scroll to specified section header. On Alphabet click , list does not scroll to that section as expected. Scroll Alignment is improper. Dec 10, 2018
@Kazn
Copy link

Kazn commented Mar 16, 2019

any solution ?

@haraldreingruber
Copy link

I have submitted a PR which might be a workaround for this issue: #63

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

3 participants