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

BUG: Drag on on long press not working #272

Open
TheTushar2696 opened this issue Sep 29, 2022 · 7 comments
Open

BUG: Drag on on long press not working #272

TheTushar2696 opened this issue Sep 29, 2022 · 7 comments

Comments

@TheTushar2696
Copy link

Describe the bug
I am trying to use the dragEventConfig={DRAG_EVENT_CONFIG} to enable drag only on long press, but seems like I am unable to drag when I provide afterLongPressDuration.

I've installed react-native-gesture-handler : v2.6.0
Attaching snap for the same

Simulator.Screen.Recording.-.iPhone.13.-.2022-09-29.at.09.17.22.mp4
@pdpino
Copy link
Collaborator

pdpino commented Sep 29, 2022

Could you please:

  • show the code (including DRAG_EVENT_CONFIG provided)
  • check react-native-week-view version you are using

@TheTushar2696
Copy link
Author

Hi @pdpino
This is the dragConfig

  • Screenshot 2022-09-29 at 10 36 10 PM
  • react-native-week-view version is 0.24

@pdpino
Copy link
Collaborator

pdpino commented Sep 29, 2022

@TheTushar2696 the dragConfig feature will be available in 0.25 (to be released soon, cc: @hoangnm )

For now you can try the feature if you install directly from the master branch

@TheTushar2696
Copy link
Author

Hi @pdpino
I am currently i am currently installing it from the master branch only, and I could see the code for drag config in the package getting installed.But its not working for me
Screenshot 2022-09-29 at 11 20 24 PM

@pdpino
Copy link
Collaborator

pdpino commented Sep 29, 2022

@TheTushar2696 you're right, I checked back the video and I see the code is properly installed. When the event gets further reduced in opacity --> indicates "dragging" mode is activated

I'll check this further and let u know

@TheTushar2696
Copy link
Author

hi @pdpino
Any update on the above

@pdpino
Copy link
Collaborator

pdpino commented Oct 21, 2022

I haven't been able to reproduce this issue yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants