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

Unable control the index list height #25

Open
JadenTheGiant opened this issue Nov 11, 2021 · 3 comments
Open

Unable control the index list height #25

JadenTheGiant opened this issue Nov 11, 2021 · 3 comments

Comments

@JadenTheGiant
Copy link

JadenTheGiant commented Nov 11, 2021

I want to center the alphabet list to middle of the page, is it able to move the index list out of the section to follow the page height? I only can adjust the position within the section list using the indexLetterStyle

Screenshot_1636620047

@PhanNN
Copy link

PhanNN commented Mar 24, 2022

@JadenTheGiant: you can override letterListContainerStyle with height value (example: based on you screen height)

letterListContainerStyle={{ height: _const.HEIGHT_SCREEN * 0.7 }}
IMG_1775

@RicardoBrito1938
Copy link

Hello, i can control the height, but still the onPress action is out of the screen, how did you fix it?

@RicardoBrito1938
Copy link

just an updated, by setting a fixed height for the AlphabetList instead indexLetterStyle did the trick

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