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

[syncfusion_flutter_calendar] drag and drop when hover item in desktop #2312

Closed
dath7 opened this issue Mar 21, 2025 · 2 comments
Closed

[syncfusion_flutter_calendar] drag and drop when hover item in desktop #2312

dath7 opened this issue Mar 21, 2025 · 2 comments
Labels
calendar Calendar component solved Solved the query using existing solutions waiting for customer response Cannot make further progress until the customer responds.

Comments

@dath7
Copy link

dath7 commented Mar 21, 2025

Bug description

In day or week calendar view, when I hover over an appointment and attempt to swipe for navigation, the appointment gets dragged instead of navigating to the next view.

Steps to reproduce

  1. Hover one appoinment
  2. Swipe to the next view

Code sample

Code sample
[Add your code here]

Screenshots or Video

Screenshots / Video demonstration
Screen.Recording.2025-03-21.at.08.58.19.mov

Stack Traces

Stack Traces
[Add the Stack Traces here]

On which target platforms have you observed this bug?

macOS

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.1, on macOS 15.3 24D60 darwin-arm64, locale en-VN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.94.1)
[✓] Connected device (5 available)
[✓] Network resources

• No issues found!
@LavanyaGowtham2021 LavanyaGowtham2021 added calendar Calendar component open Open labels Mar 21, 2025
@Mugunthan-Ramalingam
Copy link
Contributor

Hi @dath7,

We have checked your query and this is the expected behavior of SfCalendar. When allowDragAndDrop is set to true, appointments can be dragged and repositioned when you hover over them and attempt to navigate to the next view. If you want to prevent this behavior, you can set allowDragAndDrop to false, which allows navigation to the next view while swiping, even if an appointment is hovered. Please let us know if you need further assistance.

For more details, refer to the following UG: https://help.syncfusion.com/flutter/calendar/drag-drop#allow-drag-and-drop

Regards,
Mugunthan.

@LavanyaGowtham2021 LavanyaGowtham2021 added waiting for customer response Cannot make further progress until the customer responds. solved Solved the query using existing solutions and removed open Open labels Mar 27, 2025
@dath7
Copy link
Author

dath7 commented Apr 1, 2025

Thanks. I've fixed that by folked this repo and disabled drag and drop when hover event.

@dath7 dath7 closed this as completed Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
calendar Calendar component solved Solved the query using existing solutions waiting for customer response Cannot make further progress until the customer responds.
Projects
None yet
Development

No branches or pull requests

3 participants