Our powerful JS Calendar component


Post by jeff.wang »

Hi

The old event title still stay the old position when drag the event to left only like below, the opacity is 1 in css.

Image

Thank you!
Jeff


Post by tasnim »

Could you please provide the steps to reproduce it? I'm not able to reproduce it.


Post by jeff.wang »

When drag the event to left, the new position is ok, but the start position of event still have the event title, I check the the html, the old position has still the old eventRenderer, the opacity value is 1, it should be 0 according to the bryntum calendar's realize method, it is no problem when drag the event to right.


Post by Animal »

Whether you drag the event to the left or the right, the original event gets opacity : 0.5 from the class b-dragging-item.

If you want it to be invisible during drag, then you can use that class to make it display : none


Post by jeff.wang »

the problem is that the old position still has the itemRenderer when the dragging is finished


Post by jeff.wang »

you can try it in example like url, drag the header to left: https://bryntum.com/examples/calendar/basic/

the result like below:

Image


Post by Animal »

I cannot understand what a problem could be.

Dragging moves the event to a new position.

When dragging is finished, the event is in the new position.


Post by jeff.wang »

did you try to drag it in example: https://bryntum.com/examples/calendar/basic/, I record the video:

https://youtu.be/AB0ReKqtlQY


Post by Animal »

Oh. Resize. Now I see it. I was dragging.

Here's the ticket: https://github.com/bryntum/support/issues/4864


Post by Animal »

Actually, it's a focus thing. The mousedown was on the element in that cell. Even though the drag was leftwards that cell stays focused.

TAB off it and you see each element showing the title.


Post Reply