Premium support for our pure JavaScript UI components


Post by armandcolenatio »

Hello,

We're using the scheduler in vertical mode and we've found some potential issues/improvements for the DragCreate feature, when overlaps are not allowed.

If you try to drag create and quickly move the mouse after/before an overlapping event, the start/end time in the tooltip is updated correctly, but the event is not being resized to grow until it meets the overlapping event. This can lead to displaying a small dummy event with a lot of space until the overlapping event. This is probably done by design but I thought it's worth mentioning.

Doing the same thing also doesn't result in an overlapping error in the tooltip, but you get that error when you try to drag an existing event on top of another event. We would have expected to get the error message also in the drag create overlap scenario.

These can be reproduced in the following demo by setting allowOverlap to false: https://bryntum.com/products/scheduler/examples/vertical/
Also managed to reproduce it in horizontal mode.

Thanks in advance for checking it out!


Post by marcio »

Hello armandcolenatio,

Thanks for the detailed report and suggestion. I created a ticket to add that tooltip as you mentioned, as it makes sense to have it there https://github.com/bryntum/support/issues/6015

Best regards,
Márcio


Post by armandcolenatio »

Thanks a lot!
Would the first scenario be considered a bug? I think I would have expected the event to grow in size until it meets the overlapping event.


Post by marcio »

Hey armandcolenatio,

That's a bug, I created a ticket to fix it https://github.com/bryntum/support/issues/6047

Thanks for the report!

Best regards,
Márcio


Post by armandcolenatio »

marcio wrote: Fri Jan 20, 2023 5:37 pm

Hello armandcolenatio,

Thanks for the detailed report and suggestion. I created a ticket to add that tooltip as you mentioned, as it makes sense to have it there https://github.com/bryntum/support/issues/6015

Hello again,

This is also a problem for the DragResize feature, there's no overlap error in the tooltip.


Post by marcio »

Hey armandcolenatio,

Could you elaborate more on that overlap error in the tooltip?? I mean, with some screenshots, or how to reproduce the behavior that you're reporting?

Best regards,
Márcio


Post by armandcolenatio »

Hello,

Reproduced in the basic demo: https://bryntum.com/products/scheduler/examples/basic/
Set allowOverlap to false, make sure that you have 2 events on the same row, then drag to resize one of them until it overlaps the other one. The time in the tooltip gets updated but there's no overlap error in the tooltip. This is similar to the first issue reported in the topic, but that was for DragCreate, this is for DragResize.


Post by tasnim »

Thank you for your detailed report. Reproduced! We'll investigate it. Here is the ticket to track progress https://github.com/bryntum/support/issues/6345


Post Reply