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

Use the ExpandingDot wihtout the FLatList #8

Open
darkholiday opened this issue Feb 2, 2021 · 2 comments
Open

Use the ExpandingDot wihtout the FLatList #8

darkholiday opened this issue Feb 2, 2021 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@darkholiday
Copy link

Hello
I would like to pass MaxPages and currentPage to the ExpandingDot component and control the pagination programmatically by updating the currentPage value.

I have tried to add this custom feature but without success.
Can you please give me some hints that can help me proceed.

I will post the final code if i achieved it here.

Thanks.

@weahforsage weahforsage added enhancement New feature or request question Further information is requested labels Feb 3, 2021
@weahforsage
Copy link
Owner

Hello
I would like to pass MaxPages and currentPage to the ExpandingDot component and control the pagination programmatically by updating the currentPage value.

I have tried to add this custom feature but without success.
Can you please give me some hints that can help me proceed.

I will post the final code if i achieved it here.

Thanks.

Yes, but need to rework for this. But if you increase scrollX value by witdh * activeIndex, it should work.

@darkholiday
Copy link
Author

I tried to change the value of scrollX value with different methods but its didnt apply any change on the ExpandingDot Component.

ashlyWeiting pushed a commit to ashlyWeiting/react-native-animated-pagination-dots that referenced this issue Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants