Premium support for our pure JavaScript UI components


Post by bdent »

Hello- We are noticing an issue when using the Drag Resize in the week timeline view. When attempting to drag either side, the drag movement is not smooth and consistent like it is on the day timeline view. Upon looking further and enabling the tooltip, I notice that the end date has time associated with it, which I believe to be the causing of the behavior, as day view doesn't have this and works smoothly.

Here is an example of the inconsistent & undesired behavior we are seeing:

Week View not working as expected
Week View not working as expected
week-view-not-working-as-expected.gif (1.14 MiB) Viewed 382 times

Here is how it's working with day view, as expected:

Day View working as expected
Day View working as expected
day-view-working-as-expected.gif (752.85 KiB) Viewed 382 times

The week view preset is set as follows:

tickWidth: 75,
      shiftIncrement: 1,
      shiftUnit: 'week',
      timeResolution: {
        unit: 'week',
        increment: 1,
      },

Our day view preset, where the behavior is smooth and consistent, is set as follows:

tickWidth: 65,
      shiftIncrement: 1,
      shiftUnit: 'day',
      timeResolution: {
        unit: 'day',
        increment: 1,
      },

Post by mats »

Reproduced, we'll look into it. Try using 'day' unit with 7 increment, works fine for me.

Ticket: https://github.com/bryntum/support/issues/2711


Post by bdent »

Thanks, I've adjusted it to use day and 7 for the increment and that works.


Post Reply