snapToItem/snapToNext not working on Android devices when called from callbacks inside step
See original GitHub issueIs this a bug report, a feature request, or a question?
Bug report
Have you followed the required steps before opening a bug report?
- I have read the guidelines regarding bug report.
- I have reviewed the documentation in its entirety, including the dedicated documentations 📚.
- I have searched for existing issues and made sure that the problem hasn’t already been reported.
- I am using the latest plugin version.
- I am following the issue template closely in order to produce a useful bug report.
Have you made sure that it wasn’t a React Native bug?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Android only.
Is the bug reproductible in a production environment (not a debug one)?
I think so.
Environment
Expo with v33 SDK
Expected Behavior
It should go to specified page or to the next.
Actual Behavior
On iOS device it is working fine, but on Android nothing happens.
Reproducible Demo
https://snack.expo.io/SJxF4GwlB
Steps to Reproduce
- Run on Android
- Try to snapToItem from inside single page view.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:17
- Comments:46 (9 by maintainers)
Top Results From Across the Web
snapToItem/snapToNext not working on Android devices ...
snapToItem/snapToNext not working on Android devices when called from callbacks inside step #552. Open. 5 tasks done.
Read more >Android Facebook SDK does not call callback after login
I am trying to make a class that handles Facebook logins in my application. My problem is it doesn't ...
Read more >Using Callbacks in TestStand - NI - National Instruments
Callbacks are sequences that TestStand calls under specific circumstances. ... of steps and the loading and unloading of sequence files.
Read more >Callback is not working! | 3CX Forums
Dear, I configured the callback im my queue, but this working only with internal calls (extension to extension). How to made to working...
Read more >MediaSessionCompat.Callback - Android Developers
androidx.work ... Callbacks keep internal reference to the session when it's set, ... Called when a MediaControllerCompat wants a PlaybackStateCompat.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
adding timeout in the current version works for me 😃 less than 250 will not snap to next
This workaround
setTimeout(() => this.carousel.snapToPrev(), 0)
is still needed in"react-native-snap-carousel": "^3.8.2",
😦