-
Notifications
You must be signed in to change notification settings - Fork 353
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
Movement plugin not respecting threshold #361
Comments
Been a couple months, the clamping issue is a pretty critical issue for my users to use the interactive features of the plugin. Any suggestions on how to prevent the items from immediately snapping to new dates and causing a move event that could unknowningly shift dates for items? It seems like threshold should theoretically make it so that things don't automatically snap to the grid, let me know if I need to implement this in a different way. Perhaps there is an alternate flow where the user need to fully click to select an item, and THEN they can click and drag that item. This two click method, while not ideal for some use cases, could help when the movement of an item is really sensitive and would help establish more intention to a movement action. Any advice or update you could provide would be super helpful. Thanks! |
Describe the bug
I've set the
threshold
option for theItemMovement
plugin, but it doesn't seem to respect the threshold in cases. The items move immediately when clicked if the dates are slightly off of the "cadence" of the calendar as well. For instance, if I have an item with a date of Jun. 25 - Jul 25 and I'm looking in a monthly zoom, when I click the item, the item will sometimes immediately "snap" to either Jun 1-Jul 1 or to Jul 1-Aug 1.Code
How to reproduce this error?
Paste your code here with example data.
gantt-schedule-timeline-calendar version
What version are you using? 3.19.0
You can get it from
package.json
or withstate.get('config.version')
.Screenshots or movies
If applicable, add screenshots or movie to help explain your problem.
Screen.Recording.2023-01-10.at.3.07.54.PM.mov
The text was updated successfully, but these errors were encountered: