-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Carousel disappear on swipe/drag on Expo RN Web #532
Comments
🤖 Hey there, @learncreateconquer! 🚀 It's great to see you again in the react-native-reanimated-carousel repository. We really appreciate your continuous support and contribution. 🦸♂️🙌 The issue you're experiencing might be due to the In the code, the To fix this issue, you could conditionally use a different wrapper for the web platform. For example, you could use a simple import { Platform, View } from 'react-native';
// ...
const Wrapper = Platform.OS === 'web' ? View : GestureHandlerRootView;
return (
<Wrapper>
...
</Wrapper>
); This way, you're not using Please try this solution and let me know if it helps or if you need further assistance. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
bot response did not work |
🤖 It seems like this issue requires a deeper look, @dohooo could you please lend your expertise? This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
on android device when scroll is not smooth at all whereas IOS is smooth but still stutter the scroll but for |
+1 |
"react": "18.2.0",
"react-native": "^0.72.4",
"react-native-gesture-handler": "^2.12.1",
"react-native-reanimated": "3.4.1",
"react-native-reanimated-carousel": "4.0.0-alpha.9",
"react-native-reanimated": "3.3.0",
|
I just tried to reproduce the issue again with the above dependencies on my machine and again on another machine and I can't. It looks like |
Describe the bug
Carousel work great on IOS and Android but when rendered on Web, a swipe or drag gesture is disappearing the carousel.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should work as it does on mobile platform
Screenshots
RNRC.Issue.on.Web.mov
Versions (please complete the following information):
Smartphone (please complete the following information):
Additional context
Would love to see this seamlessly working on Web
The text was updated successfully, but these errors were encountered: