Dear Syncfusion support team,
we are looking to customize the drag behavior of the kanban control. Two things are disturbing us:
dataBound(args) { let card = this.element.querySelectorAll('.e-card'); let length = card.length; for (let i = 0; i < length; i++) { card[i].ej2_instances[0].enableTailMode = false; } }, |
Hello Vinitha!
Thanks for your reply. Query 1 works perfectly, we will implement this. For query 2 your example video basically demonstrates the issue, just with dragging downwards. You should take a card, put it to the bottom of a column and then start dragging upwards. Then, you will see the effect, that the mouse pointer is already above the card, but the placeholder is still below.
However, by deactivating the "enableTailMode", the effect is mitigated, because it is no longer easy to see that the pointer is already above the card. So, it is not as important.
We do, however, still have two open bug reports, one from Monday, one from yesterday, that nobody has yet responded to. Maybe, you could have a look at those, because one of them is a show stopper for us.
https://www.syncfusion.com/feedback/37730/dragging-cards-to-empty-columns-can-fail
Thanks for your help.
Cheers,
Christoph
Hi Vinitha,
I have the same problem for dragging position of Kanban cards. Is there any way to configure an offset of drag over target element, for example in current state of Syncfusion Kanban while dragging, the pointer should be exactly between the top and the bottom card I want to be able (consider enableTailMode=false ) to see the draggable area when the middle of the draggaded card is between lower middle of the top card and the upper middle of the bottom card.
Another question, is there any option to animate the target scope card moves?
Please check the attached video to see the similar behaviours.
Regards,
Siamak
@keyframes begindrag { 0% { transform: rotate(0deg) translateX(-50%) translateY(-75%); } 10% { transform: rotate(-3deg) translateX(-50%) translateY(-75%); } 30% { transform: rotate(3deg) translateX(-50%) translateY(-75%); } 55% { transform: rotate(-1deg) translateX(-50%) translateY(-75%); } 80% { transform: rotate(1deg) translateX(-50%) translateY(-75%); } 100% { transform: rotate(-1deg) translateX(-50%) translateY(-75%); } } .e-cloned-card { animation-name: begindrag !important; animation-duration: 0.8s !important; animation-timing-function: ease !important; animation-fill-mode: forwards !important; box-shadow: #0006 0 0 4px 0 !important; } |