hoangnm/react-native-week-view

BUG: Drag on on long press not working

TheTushar2696 opened this issue · 7 comments

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

Could you please:

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

Hi @pdpino
This is the dragConfig

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

@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

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

@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

hi @pdpino
Any update on the above

I haven't been able to reproduce this issue yet