-
Notifications
You must be signed in to change notification settings - Fork 96
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
BUG: React Native Web - onGridClick() not sending correct parameters #244
Comments
I haven't tried to reproduce this yet, will do soon. @rdewolff have you tried with |
Nah I have tested on 0.16.0 only yet. |
I'm able to reproduce the error However, when upgrading RNGH to v2.5.0 I run into this other RNGH bug in web: software-mansion/react-native-gesture-handler#2056 (completely unrelated to week-view), so for now it won't work either :( |
I also reproduced the original issue (i.e.
|
@rdewolff I think week-view still has some issues to be fully supported in web (other example: scrolling #198). For me, the priority right now is releasing some features for mobile. But supporting rn-web also would be awesome. For anyone else interested, you can keep listing other necessary stuff to support rn-web (like this issue), and we can try to pick it up in the near future |
It seems like on the web it's possible to use the |
On version 0.16.0, here is the working patched version if that can help:
|
@rdewolff are you staying in 0.16.0 in web and mobile? only web? I'm wondering if is worth to make reanimated and gesture-handler optional dependencies, though it might be too much trouble EDIT with more info: rn-reanimated and rn-gesture-handler handle these kind of web/mobile differences internally, so >= v0.17.0 solves this specific problem |
Describe the bug
When using RNWV on react-native-web, when clicking on the grid, the parameters are not sent properly to the callback function.
Steps To Reproduce
onGridClick
eventstartHour
is always set to 0...
Expected behavior
startHour
should be set to the hour clicked.Environment:
react-native-week-view
: version 0.16.0react-native
: 0.63.2react
: 16.13.1The text was updated successfully, but these errors were encountered: