meliorence/react-native-snap-carousel

Make the plugin compatible with `react-native-web`?

Open

#389 ouverte le 4 sept. 2018

Voir sur GitHub
 (16 commentaires) (28 réactions) (0 assignés)JavaScript (2 223 forks)batch import
featurehelp wanted

Métriques du dépôt

Stars
 (10 045 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Is this a bug report, a feature request, or a question?

A QUESTION

Have you followed the required steps before opening a bug report?

(Check the step you've followed - replace the space character between the square brackets ([]) by an x.)

Have you made sure that it wasn't a React Native bug?

yep, on ios it is very good.

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

not test on Android. i want to use this lib on web app.

Is the bug reproductible in a production environment (not a debug one)?

yep, just copy the example to a react-native-web project, you can create a new one by https://github.com/VISI-ONE/create-react-native-web-app

Environment

Environment: "react": "16.3.1", "react-native": "0.55.4", "react-native-web": "0.8.4", "react-native-snap-carousel": "^3.7.2",

Target Platform: Chrome (68.0.3440.106)

Expected Behavior

onSnapToItem not working, so it cannot loop

Actual Behavior

(Write what happened. Add screencasts/screenshots!)

Reproducible Demo

(Paste the link to a Snack example in which the issue can be reproduced. Please follow the guidelines for providing a Minimal, Complete, and Verifiable example.)

navigator

Steps to Reproduce

(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)

Guide contributeur