-
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
I want to disable horizontal and vertical scrolling when dragging an event somehow #154
Comments
Thanks for quick reply. I'm testing on Android emulator Pixel 2 device (API 30). Here is the video I recorded bandicam.2021-12-01.01-28-46-332.mp4 |
I'm also seeing this when running expo, device is an iPhone 8 Plus, iOS 15.1 |
Thanks both for the feedback. I will try disabling other scrollings while the event is being dragged, will let you know how it goes. I also have been thinking of providing small feedback when the event is first pressed to be dragged, for example a little device vibration (like the android calendar does), could be helpful |
I think adding a little phone vibration is a great idea!
…On Wed, Dec 1, 2021 at 11:48 AM pdpino ***@***.***> wrote:
Thanks both for the feedback. I will try disabling other scrollings while
the event is being dragged, will let you know how it goes.
I also have been think of providing small feedback when the event is first
pressed to be dragged, for example a little phone vibration (like the
android calendar does), could be helpful
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#154 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRUYVBKMG5RL6WVOGVCFQLUOZUWHANCNFSM5JARZKZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@pdpino have you had a chance to experiment with disabling scrollings when an event is being dragged? |
@KodyKendall sorry, not yet 🙁, I have been very busy last weeks. |
Update (sorry for the late response!): I created this experimental branch with 2 changes:
I'm still working on providing a small feedback when the dragging starts @regina-rombangok @KodyKendall I'd appreciate if you could test this, lmk if it improves or not in your devices |
I have same problem. Any Solution? |
Hi @Spunnator , could you try the fix I mentioned in my previous comment? |
@pdpino i should use your fork? |
Yes but only this branch for testing, if possible. |
Update: I'm still debugging this
|
@Salmankhan033 this seems like a question unrelated to this issue (correct me if I'm wrong 😅). Could you please open a different issue with the same question? I'll answer there Also, the current behavior when you drop the event in your example is that will go to March 5 or March 6, depending on the exact pixel where you drop it. What are you expecting? I'm not sure I understand. |
let's discuss on #165 |
I want, when I drag event then off the horizontal scroll and enable vertical scroll? |
Answering in #174 |
I fixed this 😄. I had to add the libraries react-native-gesture-handler and react-native-reanimated as dependencies (they work much better than bare react-native APIs). @hoangnm let me know if you agree with this requirement I'll be sending a PR Note: the event gets the opacity lowered to 0.5 while dragging, but we could customize this in the future (is feasible with the new libs) |
Whenever trying to drag the event, calendar view swipe behavior and vertical scrolling behavior work at the same time. It looks like so uncomfortable to drag the event.
Is there any way to disable horizontal and vertical scrolling when dragging the event?
Thanks.
The text was updated successfully, but these errors were encountered: